Not marking this as answered because we should be able to use the new feature available in XCode 9: if (@available(iOS 11.0, *)) which of course also suppresses any potential warnings.
This is the workaround - add in your header:
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
Then in your files that you need to check for version:
In the methods:
We've run into this issue too and it's a pain because this is starting to appear in 3rd party library code. Have you made a bug report? if so I'll vote on it.
I didn't submit a bug report actually - you're right of course I should have done so back in September.
Just fyi, not currently in a position to do so - so if you happen to file one b4 I'm able - I'll of course vote on yours.