phoneid / phoneid_iOS

phone.id iOS SDK
Apache License 2.0
3 stars 0 forks source link

Present LoginViewController without login button. #1

Open chiarotto opened 8 years ago

chiarotto commented 8 years ago

Hi, I have integrated phone.id in my objective-c application successfully. I would like to know if it is possible to prensent the LoginViewController without forcing the user to press the "Login Button".

Thanks for your work Alessandro

alyona-bachurina commented 8 years ago

Hi Alessandro! Currently such case is not supported. I think it worth to consider to add it in next version.

Alyona

chiarotto commented 8 years ago

ok thanks!

fedepo commented 8 years ago

hi @chiarotto, tnx for the input/request. We'll work on that. grazie! :) If I remember correctly, it should be possible to use the "compact button" skipping the first press on "Login with phone.id": you'll basically get a text-input asking for the phone number, all the process will work inside that input field but you'll need to take care of the UI around it.

chiarotto commented 8 years ago

Yes, right know I'm using the CompactPhoneIdLoginButton and everything works as exptected. But I couldn't replace the string "Login with phone.id" with "Login".

I tried to use the property "titleLabel" as you suggested me but the class CompactPhoneIdLoginButton does not expose the property "titleLabel".

fedepo commented 8 years ago

Changing label of the login button is solved: #2 I'll keep this item open to track the "Automatically start the login process" skipping the need to click the button.