- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
self.title = @"Feed";
self.tabBarItem.image = [UIImage imageNamed:@"tab_icon_feed"];// this line causing issue
}
return self;
}
This is the method causing the problem.Not sure if you need some more code in order to see whats wrong if yes just let me now. I dont really understand what went wrong because it was working and suddenly this error appeared.
尝试导入UIKit: @import UIKit;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.