- using System;
- using UnityEngine.iOS;
- ...
- Version currentVersion = new Version(Device.systemVersion); // Parse the version of the current OS
- Version ios13 = new Version("13.0"); // Parse the iOS 13.0 version constant
-
- if(currentVersion >= ios13)
- {
- // Enable the button...
- }