I am developing one application which need scanning component, I have application ready but when I build it in 2g phone with os version 3.1.3, application gives me error. I have weak linked those framework which are not in 2g. ERROR: Not Enough Frames In Stack 开发者_运维问答Do advice thanks in advance.
In such cases you have 2 options:
- Always check existence of such API call by probing with respondToSelector: message
- Check iOS version level by calling [UIDevice currentDevice].systemVersion and avoid incompatible calls by using good old if...else... statements
精彩评论