How to obtain the iPad system version macro definition identifier

This week I need to finish logic for iPad. I want to obtain the iPad system version macro definition identifier. For example, we always use “__IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_12_0” in iOS for iPhone. But now I want it for iPad. How can I do?

This topic was automatically closed after 166 days. New replies are no longer allowed.