Here is an image that explains everything I want to do:
My question is, how would I make my view structure. The header of the table view should be fixed at top of the table. But what about the top most image that is above the table view header. Will I have to add the table view inside the UIScrollView ?
Parallax effect can be done by CATransform3D
, but how would I achieve what I want, that is my question. There are lots of demos but I want to make it done custom.
You can add image view to the view like -
After that in tableview delegate method you can add
scrollviewDidScroll
method like -I hope this will be helpful. Please correct me if I am wrong.