iOS 8 Expected a type:微信SDk报错解决

2017-09-14 11:35:43来源:CSDN作者:u010960265人点击

分享

If you check the docs for UIImage you'll see it's in UIKit, not Foundation. The docs are now all targeted at Swift, which is somewhat annoying, but you'll see the import statement in the docs is specified as

@import UIKit;

In objective-c, that translates to

#import <UIKit/UIKit.h> 

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台