iOS7中UIActionSheet旁边的奇怪工件

use*_*895 9 ios ios7

我的iOS7应用程序在UIActionSheet中有一个奇怪的视觉错误.如下所示.有什么想法吗?

在此输入图像描述

码:

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:@"Done" destructiveButtonTitle:nil otherButtonTitles:nil];
[actionSheet showInView:self.view];
Run Code Online (Sandbox Code Playgroud)

Gro*_*rot 3

对我来说,在绘制按钮层时看起来像是 iOS7 的错误,无法真正想到解决方案,但除了尝试找出导致这种情况发生的因素之外

也许尝试不同的方法,看看是否能取得成功?

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil];
[actionSheet addButtonWithTitle:@"Done"];
[actionSheet showInView:self.view];
Run Code Online (Sandbox Code Playgroud)

或者也许将其设置在下面otherButtonTitles

这是一个奇怪的问题,但如果你能找到原因,那么向苹果提交错误报告可能是值得的