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 -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -