Re: shouldAutorotateToInterfaceOrientation not being called ...
Re: shouldAutorotateToInterfaceOrientation not being called ...
- Subject: Re: shouldAutorotateToInterfaceOrientation not being called ...
- From: Matt Neuburg <email@hidden>
- Date: Sun, 25 Jul 2010 12:51:16 -0700
- Thread-topic: shouldAutorotateToInterfaceOrientation not being called ...
On Sun, 25 Jul 2010 05:21:44 -0700, Jay Reynolds Freeman
<email@hidden> said:
>
>
>This code shows instrumentation to report the method call
Instrumentation code can fail silently. How about just setting a breakpoint?
My first step in a case like this would be breakpoint everything in your
UIViewController subclass. Your first step is to convince yourself that this
class is being instantiated and that *any* of its code is being called. Your
second task is to convince yourself that the instance in question is the one
whose view property points to the actual view in the actual window.
Here's something else to think about. If you make a totally empty view-based
project, straight from the template with no code of your own, and put a
breakpoint on "return YES" in shouldAutorotate..., you can see that this
method *is* called. So then you can ask yourself how *your* project differs
from that.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden