IOS - SWIFT
IOS SWIFT 화면 크기 구하기 (UIScreen.mainScreen().bounds)
tom7930
2016. 1. 27. 11:01
1 2 3 4 5 | import UIKit var bounds = UIScreen.mainScreen().bounds var width = bounds.size.width //화면 너비 var height = bounds.size.height //화면 높이 | cs |