I have a viewcontroller class where I am doing
- (BOOL)shouldAutorotateToInterfaceOrientationUIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
//return (interfaceOrientation == UIInterfaceOrientationPortrait);
return YES;
}
- (void)didRotateFromInterfaceOrientationUIInterfaceOrientation)fromInterfaceOrientation // Notification of rotation ending.
{
NSLog(@"Orientation: %@", fromInterfaceOrientation);
}
but the log is never printed, does rotation work properly in simulator ? or i need to test that on device ?
ch
- (BOOL)shouldAutorotateToInterfaceOrientationUIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
//return (interfaceOrientation == UIInterfaceOrientationPortrait);
return YES;
}
- (void)didRotateFromInterfaceOrientationUIInterfaceOrientation)fromInterfaceOrientation // Notification of rotation ending.
{
NSLog(@"Orientation: %@", fromInterfaceOrientation);
}
but the log is never printed, does rotation work properly in simulator ? or i need to test that on device ?
ch