开发者

UIBarButton doesn't restore itself when I set customView to nil

I've got a UIBarButtonItem that refreshes my data, and while the update is in process, I set refreshButton.customView to an instance of UIActivityIndicator, which is displayed fine. However, when data has been updated and I call refreshButton.customView = nil, the initial UIBarButton开发者_运维问答Item is not displayed any more (just a blank space). Anyone knows how can I fix this?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜