Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Beginning iOS 4 Application Development
|
BOOK: Beginning iOS 4 Application Development
This is the forum to discuss the Wrox book Beginning iOS 4 Application Development by Wei-Meng Lee; ISBN: 978-0-470-91802-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iOS 4 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 29th, 2011, 01:57 PM
Registered User
 
Join Date: May 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch. 7 - how do you slow-down Orientation-Rotation? (like Portrait-to-Landscape, etc.)

on pg. 189 the code to handle to orientation-rotation appears:

Code:
-(void) willAnimateSecondHalfOfRotationFromInterfaceOrientation: (UIInterfaceOrientation) fromInterfaceOrientation 												duration:(NSTimeInterval)duration {
	[self positionViews];
}

I understand that this "willAnimate..." method gets called automatically when a change in orientation is indeed detected, so then just where can you assign the Rotation the DURATION time you wish for it to have? Its obviously using some default value (and how long is that default?) - so how do you change this value?





Similar Threads
Thread Thread Starter Forum Replies Last Post
text rotation bimbolin BOOK: Professional Crystal Reports for VS.NET 1 January 17th, 2007 05:24 PM
Portrait report with a Landscape subreport ?? norfy Crystal Reports 0 March 15th, 2006 12:25 PM
Crystal Report Orientation = Landscape in asp agoz Classic ASP Professional 0 February 17th, 2006 04:15 AM
Command Button to Print in Landscape Orientation brlevy Access 3 June 9th, 2003 11:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.