0

I'm using Core Animation to make a moon-orbiting-earth animation, and I would like to use this as an activity indicator of sorts in a pull-to-refresh controller on a UITableView.

The problem is, I cannot make a custom activity indicator with Core Animation- only sequences of images are allowed. Since I cannot use a subclassed/modified UIActivityIndicatorView, I can't use Apple's UIRefreshControl (pull to refresh) and thus I need to make my own.

I am aware that UITableView has a header property that I would likely be using, but I am not sure how I could load the view with the header upscreen, make an elastic effect, and monitor/change the table position programmatically from my callback.

user
  • 3,388
  • 7
  • 33
  • 67
  • "Since I cannot use a subclassed/modified UIActivityIndicatorView, I can't use Apple's UIRefreshControl" - is it just me, or this really does not follow? –  Aug 07 '13 at 21:43
  • It might be *possible*, but judging from the interface outlined in the docs, I can't imagine a solution. – user Aug 07 '13 at 21:56
  • Also note that I've seen [EGOTableViewPullToRefresh](https://github.com/emreberge/EGOTableViewPullRefresh) but it calls for image sequences, too. – user Aug 07 '13 at 22:02

0 Answers0