Skip to content

A Light Weight and Updated Code for Device Detection and many other functionality written in swift 2.0

Notifications You must be signed in to change notification settings

kodekarim/iDevicesInformation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iDevicesInformation

A Light Weight and Updated Code for Device Detection and many other functionality written in swift 2.0

#How To Use Just import the source file to your project and you are ready to go..

#Implementation #To Know the device type let device = Device ()

    deviceType.text = "\(device)"

#To Know Device name deviceName.text = UIDevice.currentDevice().name

#To Know iOS Version iOSVersion.text = UIDevice.currentDevice().systemVersion

#To Check Battery Status device.batteryState == .Charging(65) Here "65" is the battery percentage to track For example if the device battery percentage is more then 90 Then graphic quality = HIGH

for reference see the code....

About

A Light Weight and Updated Code for Device Detection and many other functionality written in swift 2.0

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages