How to add scrollview to the normal UIView in iPhone SDK?

You can add the scrollView to the UIView, thorough IB or code.

Up vote 1 down vote favorite share g+ share fb share tw.

In my iPhone app, I have a registration form. The registration form contains many textfields. The textField near the bottom of the view get hidden when the keyboard comes up and even I am not able to scroll.

How can I get around this issue? Can it be possible by using Scrollview? If Yes, how should I add it?

Please Help and Suggest Thanks iphone cocoa-touch iphone-sdk-4.0 uiscrollview link|improve this question asked Jan 24 '11 at 5:58Parth Bhatt5,35231960 100% accept rate.

You can add the scrollView to the UIView, thorough IB or code. Through code you can add as self. View addSubView:scView; Before that you need to add all the fields, labels and TextFields to the ScrollView.

And set tags to the fields for the reference. And one more thing,you need to move the UIView to some what up, when you select the Textfields to enter some text, by setting the 'y' index of the view to negative value. Regards, Satya.

Yes. He proper way to handle this is to wrap yur entire form in a UIScrollView in InterfaceBuilder. Then, when the keyboard appears, shrink he UIScrollView so that it does not extend beneath the keyboard.

Your form will become scrollable. Look into Keyboard Notifications for being able to tell when to resize the scroll view.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions