My goal is to understand and implement feature via Core Animation.
I think it's not so hard,but unfortunately i don't know swift/Obj C and it's hard to understand native examples.
Visual implementation
So what exactly i want to do(few steps as shown on images):
1.
2.
3.
4.
And the same steps to hide view(vice versa,from top to bottom) until this :
Also,i want to make this UIView more generic,i mean to put this UIView on my StoryBoard and put so constraints on AutoLayout(to support different device screens).
Any ideas? Thanks!
I have also faced the issue like https://i.stack.imgur.com/fuVhy.gif commented https://stackoverflow.com/users/4793465/xtl for the above solution.
Am using the view at the bottom of web-view to show and hide like safari mobile browser.
attached the sample code below
UIView *viewV; UILabel *label;
and viewdidload
and scroll view delegate
This worked for me.
See my view case was opposite i am directly doing changes in that , test if it is working for you,
Show Logic
Hide Logic
Consider this as basic idea do changes as per your requirements Best luck.
Assuming the original view is something like:
Show:
Hide: