title: UITextField is not working programmatically?
body: <p>I created <code>UITextField</code> programmatically all is working good but my <code>UITextField</code> is not editing, i.e when I try to tap on <code>UITextField</code> its not working here my sample code,</p>
  
  <pre><code>CGRect frame = CGRectMake(16, 281, 288, 47);
  cycle  = [[UITextField alloc] initWithFrame:frame];
  cycle.placeholder = @"Cycle Number";
  cycle.textColor = [UIColor blackColor];
  cycle.font = [UIFont systemFontOfSize:17.0];
  cycle.borderStyle = UITextBorderStyleLine;
  cycle.autocorrectionType = UITextAutocorrectionTypeYes;
  cycle.keyboardType = UIKeyboardTypeDefault;
  cycle.clearButtonMode = UITextFieldViewModeWhileEditing;
  cycle.delegate = self;
  cycle.text = @"";
  [self.view addSubview:cycle];
  </code></pre>