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

前端 未结 5 812
鱼传尺愫
鱼传尺愫 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:40

    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
    

提交回复
热议问题