美文网首页
检索在低版本iOS系统中调用的高版本API,避免crash

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

作者: 这就是昵称 | 来源:发表于2017-11-16 23:37 被阅读0次

    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

    u4rTs.png

    相关文章

      网友评论

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

          本文链接:https://www.haomeiwen.com/subject/kfqdvxtx.html