Is it possible to customize iOS Password Autofill Layout (native)
Asked Answered
H

0

8

I'm currently adopting iOS Autofill feature for my app, and the default behavior from iOS is to add a yellow overlay in my textfield.

I've been looking in the official documentation but there is no mention about the possibility/impossibility to customize it.

I've seen several topics to trick it when it comes to web views, but my apps are pure native.

enter image description here

Hamartia answered 24/6, 2019 at 11:46 Comment(10)
what are you try to customize exactly ?Seaside
I want to change the yellow color to something else ( clear would be perfect )Hamartia
There isn't anything in the docs, which I am sure you know. I am curious as to whether the yellow is an overlay (a different node) or if it is styling on the field... regardless it sort of makes sense that apple doesn't want you to change the styling. They likely want the user to know that the auto fill is coming from apple not the app itself.Ralf
Why would you want to do that? Consistent behavior is what users like, and what works for them There is a dark force out there that fights against consistency, and that is the natural tendency of designers and programmers to be creative.Volkan
as I understood you need to customize your textfield?Regenerate
@HansKapitein The question is not about is it a good idea or not, but is it possible or not.Hamartia
@Regenerate Not the textfield. The yellow overlay added by iOS ( for the autofill password feature )Hamartia
@Hamartia I worked previously on autofill that wasn't the case. If the problem persists mind sharing code so I can inspect the problemRegenerate
@Regenerate you mean you got the autofill ( password generation ) working without the yellow overlay ?Hamartia
@Hamartia Yes. that wasn't the case with me (Yellow overlay)Regenerate

© 2022 - 2024 — McMap. All rights reserved.