Play iOS 7 Calendar UIView Animation

Everyone knows about the amazing new animations in the iOS 7 Calendar app. You can see them in this short video: http://vimeo.com/69247779

I would recreate something similar by creating a β€œmodal” rectangle that appears when the user clicks on UIButton . When the user clicks this button, the application should move the UIView (actually inside the UITableViewCell ) and move it inside this rectangle, BUT the original UIView should remain in one place. He should duplicate himself, something like that.

I created a simple image explaining the concept.

enter image description here

How to implement something like this?

+6
source share
2 answers

I can suggest you create another UIView. Do not add it to the main window.

now in the view you're working on now

 [UIView transitionWithView: self.view duration: 0.5 options: UIViewAnimationOptionsCurveEaseOut animations:^{ [self.view addSubView:createdView]; } completion:nil]; 

Hope this works if you haven't implemented it yet. I'm a newbie, sorry if there is any mistake.

0
source

I assume we are looking for something similar :-) How to display a dumper, as in the iOS 7 UIDatePicker calendar , sorry if it is not. @bobnoble pointed out the exact solution. I'm trying to achieve this, but I'm new to iOS, so I'm stuck. Another link was found with an example code :-) iOS 7 - How to display the date selection in a table?

-1
source

Source: https://habr.com/ru/post/955790/


All Articles