创建三角形UIRegions

时间:2016-11-28 19:43:07

标签: ios objective-c uikit-dynamics

我需要将屏幕分成如下所示的区域(用黑线分隔):enter image description here

文档说Most regions are rectangular or elliptical in shape, but you can use the methods of this class to create more complex shapes by adding, subtracting, and intersecting other regions.我无法弄清楚如何创建它们。

对于上下文,我试图复制StickyCorners: Using UIFieldBehavior and other UIDynamicBehaviors演示,但添加4个粘性点,每个中点1个(用红色圆圈表示)。

0 个答案:

没有答案