我想更改width & height
按钮的等UIActionSheet
UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:@**"Done"**,nil];
我想更改width & height
按钮的等UIActionSheet
UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:@**"Done"**,nil];
我建议不要这样做。UIActionSheet 中的按钮大小和形状的设计方式是出于可访问性的原因。它们在平台上的所有应用程序中也是一致的,因此用户对它们很熟悉。来自iPhone 人机界面指南:
因为用户已经习惯了这些视图的外观和行为,所以在您的应用程序中一致且正确地使用它们很重要。
如果您更改这些大小,不仅可能会降低您的应用程序的可用性,而且可能会违反 Apple 的人机界面指南,从而导致您的应用程序在提交时被拒绝。
您可以创建自己的操作表模拟。