您的位置:首页 > 其它

底版本编译时找不到高版本框架里的对象。那么就改成弱链接。就能通过编译了

2012-04-12 11:25 423 查看
There are 2 workarounds,

Replace all appearance of UIPopoverController in a message (e.g.
[UIPopoverController alloc]
) with
NSClassFromString(@"UIPopoverController")
, or

Make UIKit weakly linked. (右键点击target的get info, 把UIKIt的required改成weak)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  message target linked
相关文章推荐