Friday, 15 January 2010

Large vertical content iOS app -



Large vertical content iOS app -

how can create app big vertical content?

in xcode storyboard not possible drag , drop content want. example, in app store app can scroll vertically, how can xcode?

i'm reading lot of books none give info now.

any help appreciate.

thank you.

actually, can drop in content in storyboard. set controller freeform, , set height whatever want (i tested using 5000). add together scroll view it, , pin 4 sides of superview. now, add together content. despite fact made controller , scroll view ridiculous size, when run app, , @ frames, controller's self.view , scroll view height of whatever simulator you're running, contentsize.height of scroll view 5000 (well, 4999.5 in test).

2014-11-13 20:57:14.338 tallcontrollertest[2180:1092368] self.view is: {{0, 0}, {320, 568}} 2014-11-13 20:57:14.338 tallcontrollertest[2180:1092368] scrollview frame is: {{0, 0}, {320, 568}} 2014-11-13 20:57:14.338 tallcontrollertest[2180:1092368] contentsize is: {320, 4999.5}

ios

No comments:

Post a Comment