检索在低版本iOS系统中调用的高版本API,避免crash

Is there a way for XCode to warn about new API calls?
https://stackoverflow.com/questions/4676000/is-there-a-way-for-xcode-to-warn-about-new-api-calls#
该文中提到的最简单的方式是:
you can set other warning flag: -Wpartial-availability, then xcode will show warning for API newer than deployment target version

检索在低版本iOS系统中调用的高版本API,避免crash_第1张图片
u4rTs.png

你可能感兴趣的:(检索在低版本iOS系统中调用的高版本API,避免crash)