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

arme

macrumors member
Original poster
Sep 15, 2008
48
0
i have a large view that contains some lable and textfield. but i can't use UIScrollView. don't work . please help me that solve this problem.
 
What "dont work"?

I think you need to create item for scroll views programatically, outside interface builder. That may or may not be your issue.
 
What "dont work"?

I think you need to create item for scroll views programatically, outside interface builder. That may or may not be your issue.

how?
i don't know how work with UIScrollview.tell me?
 
Check the docs for the the controls you want to add to the scroll view and see what it takes to create them. When you initialize the controls, use [myScrollView addSubview:myOtherView] to add that view to the scroll view.
 
hi
i can create a scroll view but don't work textfield that there is bottom of scroll.
in fact delegate of text field support on page of view?
if you an idea please tell me.
thanks
 
I've attached a simple project that shows how to use a scrollview with some controls in it. It's built in IB. There is one line required in code to set the contentSize of the scrollview.
 

Attachments

  • ScrollViewTest.zip
    12.7 KB · Views: 424
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.