Cani check the version of app for ios 9 like this or is there any other way?
if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_8_0) {
//ios 9 or below?
} else {
//ios 9 above
}
Cani check the version of app for ios 9 like this or is there any other way?
if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_8_0) {
//ios 9 or below?
} else {
//ios 9 above
}
You can check the version like that:
[[UIDevice currentDevice].systemVersion floatValue];