Method [UIDevice setOrientation:] - is it still denied?

前端 未结 5 719
鱼传尺愫
鱼传尺愫 2020-12-21 08:04

I\'ve heard that using of [UIDevice setOrientation:] can be the reason to app rejection in Appstore. Is there any proofed info about it?

5条回答
  •  囚心锁ツ
    2020-12-21 08:48

    The current (iOS 5) definition is:

    @property (nonatomic, readonly) UIDeviceOrientation orientation
    

    So even if there is a setter (setOrientation: or .orientation =) it would be private API as the official documentation says it doesn't exist. And using private API will get you rejected.

提交回复
热议问题