On Sun, 25 Jul 2010 05:21:44 -0700, Jay Reynolds Freeman
<jay_reynolds_free...@mac.com> 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 = m...@tidbits.com, <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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to