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

View Single Post
Old 02-11-2010, 01:32 PM   #8 (permalink)
harrytheshark
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,896
harrytheshark is on a distinguished road
Default

Right. A few things.
when the view loaded, viewDidLoad is called, not viewdidload (case sensitive).

Another thing. The "view" outlet needs to be set to the UIView, not the UIImageView.

In the .h file, you should have:
Code:
@interface TestViewViewController : UIViewController {
	
	UIScrollView *scrollView2;	
}

@property (nonatomic, retain) IBOutlet UIScrollView * scrollView2;

@end
What I gave you was just an example, not literally what it should be. Sorry for the confusion.

In IB, you then need to hook up the "scrollView2" outlet from "File's Owner" to the UIScrollView.

You also need to make sure that the UIScrollView is only 480 pixels high. Otherwise it won't scroll.

Tom
harrytheshark is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,473
Threads: 94,039
Posts: 402,624
Top Poster: BrianSlick (7,978)
Welcome to our newest member, iram91417
Powered by vBadvanced CMPS v3.1.0

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