【问题标题】:changing UIActionSheetStyle makes no difference in iOS7?更改 UIActionSheet 样式在 iOS7 中没有什么区别?
【发布时间】:2014-09-19 12:41:48
【问题描述】:

这是iOS7中的一些错误吗?我用

截图
UIActionSheetStyleBlackOpaque,
UIActionSheetStyleBlackTranslucent,
UIActionSheetStyleAutomatic,
UIActionSheetStyleDefault.

都是一样的。

UIActionSheet *action = [[UIActionSheet alloc] initWithTitle:@"Title" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"OK" otherButtonTitles:nil, nil];
[action setActionSheetStyle:UIActionSheetStyleBlackTranslucent]; // changing enumerable here shows exactly same result
[action showInView:_controlsView];

【问题讨论】:

    标签: ios objective-c cocoa-touch ios7 uiactionsheet


    【解决方案1】:

    根据this UIActionSheetStyle 常量在 iOS 7 中未使用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-10
      • 1970-01-01
      • 2018-11-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多