Hi Guys,
I want to create a text field in the group table view cell. If i create one text field in a cell, the text fields are over lapped in all the grouped table view cells. I donno how its happened. So i want to create a text field in a grouped table view cell (Not all the cells). How can i achieve this?. Is there any sample code available?
Here my sample code,
if(indexPath.section == 0)
{
if(indexPath.row == 0)
{
UITextField * lastname = [[UITextField alloc] initWithFrame:CGRectMake(120, 5, 150, 35)];
lastname.tag = titleTag2;
[cell.contentView addSubview:lastname];
lastname.delegate = self;
lastname.returnKeyType = UIReturnKeyDefault;
}
}
Please help me out.
Thanks.