BadhanGanesh / BJOTPViewController

Entering OTP made simpler.
MIT License
45 stars 8 forks source link

primaryHeaderTitle and secondaryHeaderTitle Not working #1

Closed tushar66 closed 4 years ago

tushar66 commented 4 years ago

oneTimePasswordVC.primaryHeaderTitle = "Enter OTP" oneTimePasswordVC.secondaryHeaderTitle = "Enter OTP"

Not showing the labels.

BadhanGanesh commented 4 years ago

@tushar66 Can you please show the whole code? Have you set hideLabelsWhenEditing to true? This will hide the labels when the keyboard is ON.

tushar66 commented 4 years ago

Its Working Now. Sorry to disturb.

Tnank You.

BadhanGanesh commented 4 years ago

@tushar66 Cool. No problem.

BadhanGanesh commented 4 years ago

@tushar66 This is actually an issue as you originally reported; I'm reopening this now. The current release (v2.3.1) has this, where you have to set both primaryHeaderTitle and secondaryHeaderTitle to make it appear. Setting only one will not even create the labels. I've noted this and will be fixed in the next release. Thanks for reporting.