Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 506 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 506 Bytes

PerspectiveViewer

View underneath picture within an particular area (perspective).

This repo provides two alternative methods to implement perspective viewer effect. One way is using two overlay views and setting its maksToBounds property, another approach is adopting CAShapeLayer combined with UIBezierPath.

Please feel free to improve it, send comments or suggestions. Please let me know if you have great idea on it. You can contact me through Email: xiaojun.jin@outlook.com or Skype: xiaojun.jin