2016-09-26 2 views
1

iOS 기기 모델 번호를 프로그래밍 방식으로 얻을 수 있는지 궁금합니다. iPhone 뒷면의 기기 모델을 의미합니다. 항상이 형식의 "AXXXX"입니다.iOS 장치 모델 번호를 가져 오는 방법 (예 : A1530)?

+1

http://stackoverflow.com/questions/11197509/ios-how-to-get-device-make-and-model –

+1

http://stackoverflow.com/questions/26028918/ios-how- 결정하기 - iphone-model-in-swift –

답변

-3
let myDevice = UIDevice.currentDevice() 
let deviceModel = myDevice.model 
+4

이것은 내가 기대하는 바가 아니다. iPhone 또는 iPad 만 반환 할 수 있습니다. – RayChen

관련 문제