The app I'm currently working on is suppose to overlay a square image. The square image should overlay on preview camera screen wherever the user touches the screen. And it should also appear on the image captured by the user.

I'm having hard time figuring this out. Guidance would be really helpful.

Thank you.