iphone - Placing UITextView inside a UITableView footer -


I have a UITableView with footer view. A UITextView is included as a subview in this footer view. Both table view and footer view programs have been created. The text view is correctly displayed on the screen, but it does not display any text, nor does it respond to touch events.

Could this be related to this issue that UITextView is the subclass of UIScrollView? Or did I lose something in my start of text footage?

The code where I start the footer and the text view looks like this:

  // Create Footer UIView * tempFooter = [[UIView alloc] initWithFrame: CGRectMake (0, 0, 320, 200)]; [TempFooter Setautorizing Mask: UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth]; [Tmfututer setbackgram color: [UIColor groupTableViewBackgroundColor]]; Self.tableFooterView = tempFooter; [TempFooter release]; UITextView * tempTextView = [[UITextView alloc] initWithFrame: CGRectMake (5, 5, 270, 140)]; [TempTextView Set Delegate: self]; [TempTextView Setup: Yes]; TempTextView.keyboardType = UIKeyboardTypeDefault; TempTextView.returnKeyType = UIReturnKeyDone; Self.textView = tempTextView; [TempTextView release]; [Self-Taillefooter Weave Ed Sube View: self.textView]; In a similar problem recently I collided and found that the size of the content of   

(a UIScrollView) was too small. The content will be displayed (clip tubons = no), but will not detect touching.

Did you check whether your actual table is enough to adjust the view of your footer or not?


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -