lupz
lupz

Reputation: 3638

Is there a way to change iOS7.1 'button shapes' setting in the simulator?

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?

Upvotes: 4

Views: 485

Answers (2)

orkoden
orkoden

Reputation: 20006

It's available in the simulator now for iOS 9.0, Xcode 7.0 in the settings app -> general -> accessibility -> button shapes.

Upvotes: 0

Léo Natan
Léo Natan

Reputation: 57060

While there is no public API, and you should indeed open an enhancement request with Apple at https://bugreport.apple.com, here is some Leo magic for you:

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

Put this anywhere in your code and voilà, shapes are enabled. Delete to disable shapes. Remember not to ship app using this code as it will be rejected by Apple.

Upvotes: 3

Related Questions