Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Soulstorm

macrumors 68000
Original poster
Feb 1, 2005
1,887
1
I have a UIView which has a uitextField inside. When the user clicks on it, the keyboard comes up, and the text field is being hidden! That way, the user has no way of seeing what he/se writes on the text field.

Any way of bypassing this using some kind of zooming in the text field or designing it another way?
 
Add your text field as a subview of a UIScrollView and then scroll the scroll view (containing the text field) up programmatically when the text field begins editing (in UITextFieldDelegate's textFieldDidStartEditing method).

You can also use a UITableView instead of a UIScrollView if appropriate for your UI. (UITableView inherits from UIScrollView).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.