I\'ve heard that using of [UIDevice setOrientation:] can be the reason to app rejection in Appstore. Is there any proofed info about it?
[UIDevice setOrientation:]
If a method is not documented, don't use it. Using undocumented methods will result in rejection. It is just as simple as checking the Apple documentation.
In this case the documentation states:
@property (nonatomic, readonly) UIDeviceOrientation orientation