0

I have an iOS application that is written with xamarin iOS. The problem I have is that the navbar stopped working since iOS version 13 when they(apple) changed how it behaves.

Now, I have found a solution for it, but that code should only apply to devices with iOS version 13 and greater.

So my question is, how do I in C# set a condition to check if a device have a certain iOS version?

I know you can type something like this:

#if __iOS__
 //code here
#endif

But that only checks if it's an iOS device and not what version it is. How do I do that?

Thanks

0 Answers0