Reputation: 33654
How do I create something like this:
This is taken from the iOS contacts app. I assume there should be away to re-create it as well.
Upvotes: 1
Views: 319
Reputation: 8207
That looks like a grouped UITableView using a UITableViewCell with UITableViewCellStyleValue2. More info at Apple documentation for tables.
Upvotes: 0
Reputation: 47089
In your case You need to take Two element
1) UILabel
with text color Blue
2) UITextField
with PlaceHolder text = @"Phone"
And this element add in cell.contentView
with it's fram as you need.
also you need to add Line image in between UILabel
and UITextField
and add this image in cell.contentView
Upvotes: 1
Reputation: 1467
Its easy to re-create, just take create custom UITableViewCell with a UILabel,a separator as UIImageView and a UITextField with border style as UITextBorderStyleNone and placeholder with your text.
Upvotes: 1
Reputation: 4500
Upvotes: 1