macOS, iOS
[iOS] device 정보 가지고 오기
SweetDev
2021. 2. 25. 12:48
print(UIDevice.currentDevice().name)
print(UIDevice.currentDevice().model)
print(UIDevice.currentDevice().localizedModel)
print(UIDevice.currentDevice().systemName)
print(UIDevice.currentDevice().systemVersion)
print(UIDevice.currentDevice().orientation)
//결과 값
iPhone Simulator
iPhone
iPhone
iPhone OS
9.3