UIRefreshControl没有显示QuickDialog和iOS7

时间:2014-01-16 16:37:38

标签: ios ios7 uirefreshcontrol

我正在使用UIRefreshControl来允许在QuickDialog控制器上进行向下刷新。

我使用以下代码:

UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init];
[refreshControl addTarget:self action:@selector(refreshVehicles:) forControlEvents:UIControlEventValueChanged];
[vc.quickDialogTableView addSubview:refreshControl];

在iOS6和XCode 4上一切正常,但是当我尝试使用适用于iOS7的XCode 5构建应用程序时,不会显示刷新控件。

知道为什么会发生这种情况吗?

0 个答案:

没有答案