Guide me on UIDevice currentDevice
- by barbgal
I am using the following code to set the device orientaion
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
when i used i got the warning and i found the below code to fix that warning.
@interface UIDevice (MyPrivateNameThatAppleWouldNeverUseGoesHere)
- (void) setOrientation:(UIInterfaceOrientation)orientation;
@end
Now what i would like to know is ...
Can the app store accepts this code to be in an application?
Thanks for any help!.