1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Rep Power

    String reference problem

    I'm new to iOS development. I've tried to find a way to doing this but keep running into dead ends.

    i Have a textfield ,label and button in my design.
    I would like to take text entered by user and return some other text based on some condition. How do I do it?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2011
    Rep Power

    We can solve this.

    Hi Friend

    We can do this.

    What you have to do is define outlet for each these UI elements i-e textfield ,label and button.
    When ever user enter data in text field store it in string and as user presses button( name it SEND) send this data with web services and get the response and display it to the same text field.
    Also do remember to clean the text field while button is pressed( handle this in UIButton event)
    With web service you send a particular data and get response in its reference.


IMN logo majestic logo threadwatch logo seochat tools logo