I am using a UITextView inside a tableView cell to edit text.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITextField *textName = [[UITextField alloc] initWithFrame:CGRectMake(0, 0, 270, 24)]; [cell addSubview:textName]; [textName release]; }
This works, but this is not true when launched on the iPad.
I tried to determine the width of the cell using cell.contentView.frame.size.width
but it always returns 320.0 for iPhone and iPad
Also on the iPad, when in landscape mode, the cell width should not be larger?
Theo
iphone uitableview ipad uitextview
teo
source share