|Mar 21, 2008, 08:23 AM||#1|
Aspen - rotate hardware
I can't figure out how to enable hardware rotation for my app in Aspen. I looked though all the examples, none of those you can rotate either (in Aspen -> Hardware / Rotate Left or Right.)
Does anyone know how to enable this?
|Mar 21, 2008, 08:39 AM||#2|
It may be one of the features that is not implemented in the Beta yet ***cough***Interface Builder***cough***.
Security: You are coming to a sad realization. Cancel or Allow?
|Mar 21, 2008, 09:07 AM||#3|
The app has to specifically allow for rotation. For example, the simulator will rotate in Safari, but not in most of the sample apps. There's code for that. I don't think we're allowed to post actual examples, are we? Doesn't that violate the terms you agreed to when downloading the SDK?
|Mar 21, 2008, 10:45 PM||#5|
I've played with this. You need to implement shouldRotateBlahBlahBlah: (sorry, no docs on this computer to get the proper name) in your view controller. All you need to do is add the method and return YES. One thing I found (and it took me a while to work this out) is that if you have a toolbar, you need to implement this in all view controllers run by that toolbar. Until I did that, nothing would rotate at all.
BTW, there's a WhichWayIsUp sample which shows a simple rotating view.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Video Shows Discovery of Steve Jobs' Lisa Mouse Inside 30-Year-Old Aspen Time Tube||MacRumors||Mac Blog Discussion||37||Feb 19, 2014 10:55 PM|
|iphone 5c/5s Aspen Grove - Littleton CO||gonzalo12345||iPhone Launch Meetups||1||Sep 20, 2013 08:52 AM|
|It's not about hardware. It's about software that runs hardware.||stu00a||iPad||7||Oct 24, 2012 05:03 PM|
|Steve Jobs's jokes in this 1983 talk at International Design Conference in Aspen||booyahbooyah||Apple, Industry and Internet Discussion||0||Oct 2, 2012 06:07 PM|
All times are GMT -5. The time now is 04:24 PM.