Find ios version

Hi,
How can I do this with ios moe to find current ios version?

if #available(iOS 10.3, *) {

}

Thanks

Hi!

Please try you this code:

UIDevice.currentDevice().systemVersion();

Best Regards,
Roland

UIDevice.currentDevice().systemVersion(); works fine

Ok, Thanks :wink: