[問題] 關於UIStoryBoard 橫向

看板MacDev作者 (iOS5)時間12年前 (2013/02/19 10:53), 編輯推噓1(103)
留言4則, 1人參與, 最新討論串1/2 (看更多)
開發環境 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)

02/20 03:03, , 1F
我猜是你log的位置是該view還沒實作轉向時你就call了
02/20 03:03, 1F

02/20 03:39, , 2F
然後你可能是想要http://ppt.cc/muKr
02/20 03:39, 2F

02/20 03:42, , 3F
上面的連結貼錯了那是你可能會遇到的議題的解釋
02/20 03:42, 3F

02/20 03:42, , 4F
你可能是要這個http://ppt.cc/x1tN
02/20 03:42, 4F
文章代碼(AID): #1H8kan3E (MacDev)
文章代碼(AID): #1H8kan3E (MacDev)