Initalizing 'AppDelegate * _
2017-11-14 本文已影响10人
GF极客天涯
AppDelegate *app = [UIApplication sharedApplication].delegate;
// 强制转换即可 消除警告
AppDelegate app =(AppDelegate) [UIApplication sharedApplication].delegate;
AppDelegate *app = [UIApplication sharedApplication].delegate;
// 强制转换即可 消除警告
AppDelegate app =(AppDelegate) [UIApplication sharedApplication].delegate;