@interface WordListTableController : UITableViewController <UITextFieldDelegate>
{
}
@end
// 표보기 셀의 모양을 사용자 정의하십시오. - (있는 UITableViewCell *)있는 tableView : (jQuery과 *)있는 tableView cellForRowAtIndexPath : (NSIndexPath *) indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
}
// Configure the cell...
UITextField *FirstField = [[UITextField alloc] initWithFrame:CGRectMake(10, 10, 130, 25)];
FirstField.delegate = self;
[FirstField setTag:indexPath.row];
FirstField.returnKeyType = UIReturnKeyNext;
[cell.contentView addSubview:FirstField];
[FirstField release];
return cell;
}
// Handle any actions, after the return/next/done button is pressed
- (BOOL)textfieldShouldReturn:(UITextField *)textfield
{
[textfield resignFirstResponder];
return NO;
}
나는 비슷한 가지고, 내가 답변으로 내 코드를 추가하는 시도하지만 8시간을 기다려야한다. 파일 소유자와 위임자와 비슷한 문제가있는 다른 사람들에게 여러 게시물을 보냈지 만 프로그래밍 방식으로 파일 소유자의 일부분을 만들려면 어떻게해야합니까? 그게 문제라도된다면? –