How would I go about getting a string from a UITextField in the iPhone SDK? I'm trying to insert it into another concatenated string.
Thanks! It worked! I know it's really simple, but I was doing something wrong before...
Adam
2010-01-04 22:48:56
A:
lblAns.text=[NSString stringWithFormat:@"%i",[[txtField1 text] intValue] + [[txtField2 text] intValue]];
you can do addition of two textboxs value like this...
rkloves
2010-01-05 00:18:56
A:
nsstring *s=textfield.text;
your string=[your string appendstring:s];
pankaj kainthla
2010-09-30 13:19:16