ios - Text Field on Top of Button - iPhone -


So I'm trying to understand the ideas in xCode for my registration page - something like this: < P> At any rate, I can not understand how he is using to achieve this performance. Does it look like a TextField at the top of a button? If so, then I can never find the text field to sit on the top, it always goes behind the button, thus making it invisible.

Any suggestions or suggestions?

This button does not have a text field. Actually it's a text box inside a table view. You must do the following:

  1. Take a table view on the Nibb
  2. Create the outlet and set the delegate and the data source.
  3. Then add the following code to your .m file.

    This is a

    number of rows in the table view before this set.

      - (UITableViewCell *) Table Views: (UITableView *) Table cellForRowAtIndexPath: (NSIndexPath *) indexPath {UITableViewCell * cell = [Table dequeueReusableCellWithIdentifier: @ "cell"]; If (cell == blue) cell = [[[UTTEWview alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier: @ "cell"] autorelease]; @ "Seventh", @ "Seventh", @ "eighth", @ "#", ", @" Nineteenth ", @" tenth ", zeros] objectatted index: indexpath.ro]; if (indexPath.row% 2) {UITextField * textField = [[UITextField alloc] initWithFrame: CGRectMake (0, 0, 200, 21)]; TextField.placeholder = @ "Enter text"; TextField.text = [Inputtaks Objektaetindaks: Indekspathkro / 2]; TextField.tag = indexPath.row / 2; TextField.delegate = self; Cell.accessoryView = textField; [Tekstfild release];} and sales. Aksesriwu = null; Cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell;}  < / Pre> 

    Or you can view this link

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -