ios8之后UIImage报错Expected a type

这个是由于把这些类独立放到UIKit中了

swift解法:

@import UIKit;

OC的话

#import <UIKit/UIKit.h>

 

Leave a Reply

Your email address will not be published. Required fields are marked *