finding unsupported apis with os version

前端 未结 3 1759
你的背包
你的背包 2020-12-18 10:21

I\'ve developed and application for iPhone. It works fine on os4 but it does not work on os3.1. In fact works but there are some problems; after splash screen a what screen

3条回答
  •  被撕碎了的回忆
    2020-12-18 10:45

    If you want to check a specific API, just run this in your code somewhere with an appropriate response. For example, to see if print is supported, run this...

    if (NSClassFromString(@"UIPrintInfo")) {
    
    }
    

提交回复
热议问题