Get data when u go back

Discussion in 'iOS Programming' started by arnieterm, Nov 7, 2008.

  1. macrumors regular

    Aug 28, 2008
    For a tab bar app with nav controllers how can i get any data from a details view controller like input in any text field, date value in a date picker etc when user clicks on/Done Back button on nav bar.
    Do I need to implement any kind of delegate or does there exists any other way to do this?
  2. macrumors 6502a

    Oct 24, 2008
    For a text field, you want UITextFieldDelegate (

    The relevant method is:

    - (BOOL)textFieldShouldReturn:(UITextField *)textField;
    List of UI Protocols:

Share This Page