【发布时间】:2014-03-24 04:24:26
【问题描述】:
我在 viewDidLoad 中调用了这个函数
- (void)addRefreshControl {
refreshControl = [[UIRefreshControl alloc] init];
[refreshControl setAttributedTitle:[[NSAttributedString alloc] initWithString:NSLocalizedString(@"Pull to refresh", nil)]];
[refreshControl addTarget:self
action:@selector(refreshView)
forControlEvents:UIControlEventValueChanged];
[self setRefreshControl:refreshControl];
}
几乎每次我拉动刷新时,我都会在调试器中收到这条消息CUICatalog: Invalid asset name supplied: (null), or invalid scale factor: 2.000000的警告
它不会中断我的应用程序,但是,我想了解此消息的来源并避免它。
【问题讨论】:
标签: ios ios7 uirefreshcontrol