我从使用 iOS 7 SDK 在 XCode 5 下编程开始。当我使用“attributedText”创建时UITableViewController,UIRefreshControl我将文本覆盖在图形之上UIRefreshControl(圆形进度动画)。
但是当我下拉并松开手指时,文本会跳到正常位置。为什么会这样?
UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init];
[refreshControl addTarget:self action:@selector(updateDeviceList) forControlEvents:UIControlEventValueChanged];
refreshControl.attributedTitle = [[NSAttributedString alloc] initWithString:@"Update Devices States"];
self.refreshControl = refreshControl;
在拉到底之前:

发布后UIRefreshControl:
