How to make modal view scrollable?

I've had the same question, and i've played with it a bit, setting a UIScrollView is not enough, as in the inspector you should 1st. Increase it then in the attributes, check the following checkboxes: Scrolling enabled, Bounce Scroll, always bounce vertically Edited: Forgot the most inportant thing: in the size inspector, set the Buttom field (under content) to the size you wish, (960 is twice the regular size).

I've had the same question, and i've played with it a bit, setting a UIScrollView is not enough, as in the inspector you should 1st. Increase it then in the attributes, check the following checkboxes: Scrolling enabled, Bounce Scroll, always bounce vertically. Edited: Forgot the most inportant thing: in the size inspector, set the Buttom field (under content) to the size you wish, (960 is twice the regular size).

Adding a UIScrollView on top of UIView is also possible (then layout all your controls on it) but you will have to do some coding as well: connect it to a UIScrollView instance, and in the viewDidLoad method, add the following: scrollView. ContentSize = CGSizeMake(scrollView.frame.size. Width * 3, scrollView.frame.size.

Height); scrollView. ShowsHorizontalScrollIndicator = NO; scrollView. ShowsVerticalScrollIndicator = NO; scrollView.

ScrollsToTop = NO; scrollView. Delegate = self; – Dror Sabbag May 18 '10 at 18:48 Everything is pretty good when I add the UIScrollView. I have a UITextView that is the first responder.

When it is inside the UIScrollView it isn't first responder anymore. Weird. Have any thoughts?

– Sheehan Alam May 18 '10 at 18:48 surely you can assign it to be first responder in the viewDidLoad as well; textField1 becomeFirstResponder; – Dror Sabbag May 18 '10 at 18:50 I have tried that. See my new question at: stackoverflow. Com/questions/2859268/… – Sheehan Alam May 18 '10 at 18:55.

Use a UIScrollView instead of an ordinary UIView. You can disable scrolling when you don't want the user to be able to with: theView setScrollEnabled:NO.

– Sheehan Alam May 18 '10 at 18:44 Yes you can. Or you can replace the UIView with the UIScrollView as the UIScrollView is a subclass of UIView and thus does everything like a UIView and more (the scrolling). – jamone May 18 '10 at 18:48.

Modal view is made so that it prevents you from doing anything except whatever it is that it wants you to do. You must do something specific to exit the modal state. The modal view also covers up the navigation bar.

Make modal 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