I am trying to animate the position of some subviews in a scrollview. I want to create a specific effect when they are inserted. I just used implicit animation, changing the frame to UIView, but when they slide it looks too robotic. So I was hoping to create a bounce effect in which they glide inward, walk away a bit, and then return to my assumed position, pretty much what a scrollview looks like when it reaches the end, just the opposite.
In any case, I can not get it to animate the change in the beginning of the frame. I'm not sure what I am missing, because if I turn off what is being animated (do the first // * in / *), it just changes the opacity perfectly.
- (void)slideInStories; { float scrollViewContentWidth = 0; for (StoryViewController *storyController in storyControllers) { NSMutableArray *animationPoints = [NSMutableArray array]; CGRect viewFrame = storyController.view.frame;
source share