作者shinrenpan (iOS5)
看板MacDev
標題[問題] 關於UIStoryBoard 橫向
時間Tue Feb 19 10:53:35 2013
開發環境 iOS 6.0, ARC
建了一個Project使用Sotryboard
設定了橫向設定(Landscape Left and Right)
在AppDelegate didFinishLaunchingWithOptions裡
NSLog window, 出來的frame是 748x1024
在RootViewController裡
NSLog self.view 出來的frame是 748x1024
但是我在storyboard裡, RootViewController的View已經設成Landscape
整個App 是橫向, 為何window 跟 每個View都是748x1024
不是應該是1024x748嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.61.142.43
※ 編輯: shinrenpan 來自: 210.61.142.43 (02/19 10:55)
推 charlesdc:我猜是你log的位置是該view還沒實作轉向時你就call了 02/20 03:03
→ charlesdc:上面的連結貼錯了那是你可能會遇到的議題的解釋 02/20 03:42