P
P
Pavel Makukha2015-04-17 13:04:49
iPhone
Pavel Makukha, 2015-04-17 13:04:49

How to forcefully remove Button shapes from buttons?

If in iphone Settings -> General -> Accessibility -> Button Shapes are enabled, then all button titles in the application get underlines and a gray background. How to get rid of this at the code level. Because the whole design breaks.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
five, 2015-04-18
@marsohod

You will, of course, excuse me that I am with my charter in a strange monastery, but why fight this? This feature is included by people who need such functionality. Well, there are all sorts of visually impaired, for example. For them, the disappointment that “the whole design breaks” is absolutely insignificant compared to the fact that inscriptions and buttons are clearly visible with their visual impairments.
Moreover, I'm pretty sure that even if you manage to find a way to break this built-in functionality, then Apple will not let your application into the store.
Don't bother trying to change the default interface behavior. This option is not enabled by default - it is used by those who have enabled it meaningfully, and they do not want it to suddenly stop working in any application.

N
Nikita Naumov, 2015-04-17
@aptnru

-webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;

Does not help?

F
feniksqip, 2015-04-18
@feniksqip

Custom to try to write buttons.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question