创建一个Swift File,
import Foundation
import UIKit
//获取屏幕宽度 高度
let SCREEN_WIDTH = UIScreen.mainScreen().bounds.width
let SCREEN_HEIGH = UIScreen.mainScreen().bounds.height
创建一个Swift File,
import Foundation
import UIKit
//获取屏幕宽度 高度
let SCREEN_WIDTH = UIScreen.mainScreen().bounds.width
let SCREEN_HEIGH = UIScreen.mainScreen().bounds.height