I have created the one rootviewcontroller , and then make that geosensitive by writing
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
In rootviewcontroller willAnimateSecondHalfOfRotationFromInterfaceOrientation
method is called and images are resizing.
I also have some views on it, but when I rotate the screen the view will be rotate but the images are not resizing though I have used the same
-(void)willAnimateSecondHalfOfRotationFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation duration:(NSTimeInterval)duration
{
UIInterfaceOrientation toOrientation = self.interfaceOrientation;
}
method but it cannot called. So, what can I do? Please help me.