TimOliver / TOPasscodeViewController

A modal passcode input and validation view controller for iOS
MIT License
385 stars 96 forks source link

Added 'layoutIfNeeded' when changing the title of the cancel button. #38

Closed jangsy7883 closed 4 years ago

jangsy7883 commented 4 years ago

After allowCancel is set to false,

When the cancel button is displayed after entering the passcode, the title of the cancel button is changed from 'cancel' to 'delete'.

So I added a layoutIfNeeded function when the title of the cancel button changes.

TimOliver commented 4 years ago

Oh awesome! Thanks so much for that @jangsy7883! :D