Objective-C has an @available expression in XCode 9+ / LLVM 5+ that allows you to guard a block of code to at least a certain OS version so that it won\'t emit unguarded ava
inline bool iOS13() { if(@available(iOS 13, *)) return true; else return false; } if(iOS13() && x == y) //...