How to check iOS version in that device using Myapp iOS swift

Solution:

Now a days apple had a method that will closure your viewcontroller or method that will execute based on the os version in the device.

 @available(iOS 10.0, *)
//you can code here

@end



or you can code like below


            let dev = UIDevice.current.systemVersion.hashValue

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift