0
내 self.view 내부에 fooView가 하나 있는데, fooView는 숨겨진 부분의 버튼이있는 fooView를 숨기고있는 레이어 마스크를 가지고 있습니다. 그래서 버튼이 보이지만 마스크 레이어가 있기 때문에 그것을 클릭 할 수 없습니다. 나는이 같은 레이어를 추가했습니다 .. 나는 그림에서 mesajlar 버튼을 클릭하고 싶었다 .. 나는 검색 및 pointInside 방법을 찾았지만 유일한 뷰 ..마스크 레이어 뒤의 버튼을 어떻게 클릭 할 수 있습니까?
한CAShapeLayer *shape = [CAShapeLayer layer];
shape.path = pathRef;
shape.fillRule = kCAFillRuleEvenOdd;
shape.frame = self.view.frame;
[shape setFillColor:[[UIColor redColor] CGColor]];
[self.viewBottomAbiInfo.layer setMask:shape];
pointInside:<#(CGPoint)#> withEvent:<#(UIEvent *)#>
어떤 조언을 주시면 감사하겠습니다 ..