-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Presetting text programatically loses padding #174
Comments
Set TextField text in viewDidAppear
or in ViewDidLoad
|
Thanks a lot man!
Sincerely,
*Pratik Gujarati *(CEO & Founder)
*Innovative Iteration Software Solutions*
TF - 410, Marvella Corridor, Near Bhagwan Mahavir College, V.I.P Road,
Vesu, Surat - 395007
Tel : +91 8980998008 | www.innovativeiteration.com | Skype :
innovative_iteration, pratik_gujarati
[image: Facebook] <https://www.facebook.com/innovativeiteration/> [image:
Google Plus] <https://plus.google.com/u/0/104136065470067947955/posts> [image:
Find Us]
<https://www.google.co.in/maps/place/Innovative+Iteration+Software+Solutions/@21.143376,72.789561,15z/data=!4m2!3m1!1s0x0:0x8fba9958f0bd9a05?sa=X&ved=0ahUKEwjx2N_E_vjKAhUGBY4KHRnjAngQ_BIIVzAK>
…On Fri, Sep 1, 2017 at 3:03 PM, Rajkumar ***@***.***> wrote:
Set textfield text in viewDidAppear
-(void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
textField.text = @"Testing"];
}
or
dispatch_async(dispatch_get_main_queue(), ^{
textField.text = @"Testing"];
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#174 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdoT6KJ_kgpJxcwbrwu7qABFSSOT4hYgks5sd89ggaJpZM4O43of>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to preset some text in JVFloatLabeledTextField on controller's viewDidLoad. As soon as i try to edit the textfield it becomes normal. Please find attached screenshot. FYI : I am using autoresizing with XIB.
The text was updated successfully, but these errors were encountered: