I have a pdf page displayed with CGContextDrawPDFPage.
I want to keep this page shown and have an image slide in from top over this page, just as it can be seen in the iBooks application.
It’s a book, the sliding image is a bookmark that slides in when you are about to close the book.
What is the best way to go about implementing this?
Try using a UIView animation block that moves the frame of a UIImageView from above the top (offscreen) to somewhere below the top.
For example, assuming the image is 100 x 200:
Just make sure that imageView is the top-most subview and not hidden.