Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. // Status Barの高さを取得する.
  2. let barHeight: CGFloat = UIApplication.sharedApplication().statusBarFrame.size.height
  3. // Viewの高さと幅を取得する.
  4. let displayWidth: CGFloat = self.view.frame.width
  5. let displayHeight: CGFloat = self.view.frame.height
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement