I want to make something like this:
What I do: two UIImagesView, one with UIViewContentModeLeft and another with UIViewContentModeRight. I have a slider where I can change image frames. The solution seems to be ok, but I am not sure if this is the "right" one. Other suggestions are welcome.
Thanks!

use single
Imageviewfor your concept it is my suggestion If you feel free use this else use your concept else go some thirdparty, where you need for modify the transparent, add the oneTransparent UIViewabove theImageView. set the frame as ofTransparent UIViewforShowas(0, 0, ImageView.frame.size.width/2,ImageView.frame.size.height), forHide(ImageView.frame.origin.X - 40, 0, ImageView.frame.size.width/2,ImageView.frame.size.height)for example
To Show
To hide