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.
 

SqueegyX

macrumors regular
Mar 24, 2008
108
1
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.
 

arme

macrumors member
Original poster
Sep 15, 2008
48
0
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?
 

SqueegyX

macrumors regular
Mar 24, 2008
108
1
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.
 

arme

macrumors member
Original poster
Sep 15, 2008
48
0
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
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
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: 422
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.