Snowy Monkey

Building a software synth

UIViewController methods not being called? February 21, 2010

Filed under: iphone,xcode — snowy monkey @ 10:53 pm
Tags: , , ,

Is your UIViewController not working correctly? Maybe viewDidLoad is being called, but nothing else seems to be? Check your view controller in Interface Builder, check the connections – is your view connected? Disconnect it and link it manually in your loadView method. Now your other methods will magically be called correctly. No idea why this is.

I’ve just spend the better part of an afternoon & evening trying to figure this out, so thought I’d share it….

Advertisement
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.