看板 MacDev 關於我們 聯絡資訊
開發環境 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:然後你可能是想要http://ppt.cc/muKr 02/20 03:39
charlesdc:上面的連結貼錯了那是你可能會遇到的議題的解釋 02/20 03:42
charlesdc:你可能是要這個http://ppt.cc/x1tN 02/20 03:42