Hi,
I am creating a custom login window, so I am using SFAuthorizationpluginView, here I want to hide Submit Arrow botton which gets displayed beside username and password text feild
, is there a way to hide this, please suggest.
is there a way to hide this
No. The authorisation plug-in view only controls a specific area within the authentication UI. If you look at LoginUIAuthPlugin, it’s the area covered by the purple rectangle. Everything outside of that is under the control of the system.
Additionally, it’s the user pressing this button that triggers the call to your buttonPressed(_:)
method which proceeds with the login attempt. Hiding it would prevent that.
If you know that the user will be unable to log in given your current state, you can disable the button by calling setButton(_:enabled:)
.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"