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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -