if i have a tag of text field then how can i pick the value of textfield in iPhone sdk
you should be fine with something like (assuming that the TextField is a self.view's subview):
NSString *text = [(UITextField *)[self.view viewWithTag:THE_TAG] text];
NSString *text = [(UITextField *)[self.view viewWithTag:tag] text];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With