【发布时间】:2011-06-03 05:09:54
【问题描述】:
我正在使用以下代码来设置设备方向
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
当我使用时,我收到了警告,我找到了以下代码来修复该警告。
@interface UIDevice (MyPrivateNameThatAppleWouldNeverUseGoesHere)
- (void) setOrientation:(UIInterfaceOrientation)orientation;
@end
现在我想知道的是......
应用商店能否接受此代码进入应用程序?
感谢您的帮助!
【问题讨论】:
标签: iphone iphone-sdk-3.0