Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: UIScrollView
View Single Post
Old 08-31-2009, 05:41 AM   #2 (permalink)
Dutch
Humbled Student
 
Dutch's Avatar
 
Join Date: Apr 2009
Location: Long Island, NY
Age: 32
Posts: 883
Dutch will become famous soon enough
Send a message via AIM to Dutch
Default

Once your label is "FULL" of text, you need to measure how wide and high it is.

Then you need to call
Code:
[theScrollView setContentSize:CGSizeMake(w, h)];
This will let the scrollview know the size of it's content so it knows how to behave when scrolling. Just adjust the W and H as needed.
Dutch is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,179
Threads: 93,919
Posts: 402,146
Top Poster: BrianSlick (7,966)
Welcome to our newest member, Scottaclod
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:37 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.