Tunko Development Diary

[iOS][swift] ScreenSize 가져오기 본문

Development/iOS 개발

[iOS][swift] ScreenSize 가져오기

Tunko 2020. 1. 2. 00:39
let screenSize: CGRect = UIScreen.main.bounds
let screenWidth = screenSize.width
return screenWidth / CGFloat(dataSource.count)

 

반응형
Comments