2017-03-17 58 views
0

enter image description here 在iPad Pro,Air,Mini中,相同的設置正在工作,但是當我使用iPhone 7真實設備並啓動相同的應用程序時,它不會像任何iPad那樣像全屏一樣。iPhone - 爲什麼全屏無法使用,但它適用於iPad?

是否有任何其他設置我可能需要/缺少使兩個平臺正確運行我的應用程序?

enter image description here

- (void)viewDidLoad { 
    [super viewDidLoad]; 
    self.view.backgroundColor = [UIColor blackColor]; 
    //[self myMethodHere:@"testing/pesting"]; 
    [self showASimpleExitButtonOnBottomCenter]; 
} 
+0

也許你的啓動畫面不正確。 –

+0

我沒有任何啓動畫面。它啓動了故事板我只有故事板。 – YumYumYum

+0

嘗試加載飛濺。然後它會正常工作。 –

回答

0

解決的問題是:

enter image description here

1)去掉 「啓動圖像源」

2)添加 「啓動畫面文件」>新的LaunchScreen.storyboard

2

按照形象,我有同樣的問題,一旦這個節。看到它,如果它可以幫助你。

enter image description here

由於啓動圖片來源問題arised。

希望它可以幫助你..

+0

我發佈了正確的答案。請投我一票。 – YumYumYum