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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -