Take the 2-minute tour ×  I have a PromoCodeViewController which
is triggered using the following code:  @implementation
Demo_WebServiceCallingUsingiOSAppDelegate  @synthesize window =
_window,promoCodeController;       self.promoCodeController =
[[PromoCodeViewController alloc] init];       [self.window
addSubview:self.promoCodeController.view];       // Override
point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];     return YES;  The
PromoCodeViewController contains the UITextField and I implement
the UITextFieldDelegate for the PromoCodeViewController as
shown:  @interface PromoCodeViewController :
UIViewController<UITextFieldDelegate>      IBOutlet UITextField
*promoCodeTextField;   @property (nonatomic,retain) IBOutlet
UITextField *promoCodeTextField;    I implement the
textFieldShouldReturn method as shown:  -
(BOOL)textFieldShouldReturn:(UITextField *)textField     return
TRUE;   I have even setup the PromoCodeVi