2

我在我的应用程序的屏幕中央放置了一个“打开方式...”菜单。问题是 iOS 在矩形底部添加了一个箭头。可以没有箭头吗?

如果我使用 CGRectZero 我没有箭头,但我不能将菜单定位到中心。这是代码:

CGPoint centerPoint = [Rhodes sharedInstance].window.center;
CGRect centerRec = CGRectMake(centerPoint.x, centerPoint.y, 0, 0);
BOOL isValid = [docController presentOpenInMenuFromRect:centerRec inView:[Rhodes sharedInstance].window animated:YES];
4

0 回答 0