ios - How to make irregular shaped UIScrollView? -
i want make irregular shaped uiscrollview(using cgpath or uibezierpath).
the contents scrollable , zoomable. , scroll actions accepted in these areas, not rectangular area. ideas?
your use cashapedlayer path create clipping path , apply scrollview's layer's mask. use same path in view's hittest:withevent:
decide, if uiview should response touch or not.
Comments
Post a Comment