4

Since iOS 7.1 there is a button shapes option among the accessibility settings. As far as I can tell it is not available in the iOS simulator. Is this true or did I miss something?

4

2 回答 2

3

虽然没有公共 API,但您确实应该在https://bugreport.apple.com向 Apple 提出增强请求,这里有一些 Leo 魔法适合您:

https://gist.github.com/LeoNatan/9532361

将它放在您的代码中的任何位置,瞧,形状已启用。删除以禁用形状。请记住不要使用此代码发布应用程序,因为它将被 Apple 拒绝。

于 2014-03-13T17:01:55.703 回答
0

它现在在 iOS 9.0、Xcode 7.0 的模拟器中可用,位于设置应用程序 -> 常规 -> 可访问性 -> 按钮形状中。

于 2015-10-28T11:11:43.593 回答