So I wanted an animated UIScrollView which iterated around a collection of UIViews that had been programmatically added to my UIScrollView. Problem I ran into was starting the animation over after the final view had been displayed. After initially ignoring the completion:^ option, I found a neat little way to recall the function for each view and then revert when the first view once a counter position had been reached. 123456789101112131415161718192021222324- (void)scrollFeaturedView:(int)counter{ CGRect frame; frame.origin.x = ...
↧