1
UITextView에서 데이터를 입력하는 동안 자동 완성 버블 위치와 관련하여 혼란 스럽습니다.UITextView 자동 완성 버블 위치
내가 본 것은 프레임의 원점에 따라 자동 완성 버블이 위 또는 아래에 있음을 나타냅니다. 고정 위치가 없으면 이 제공되고 scrollEnabled는 NO으로 설정됩니다.
다음은 두 링크입니다. 코드가 초기화로 작성()
는http://www.flickr.com/photos/[email protected]/6975525835/
UIView *view = [[[UIView alloc] initWithFrame:CGRectMake(0, 150, 320, 41)] autorelease];
view.backgroundColor = [UIColor grayColor];
[self.view addSubview:view];
UITextView *growingTextView = [[UITextView alloc] initWithFrame:CGRectMake(0, 10, 200, 27)];
growingTextView.font = [UIFont fontWithName:@"Helvetica" size:13];
growingTextView.scrollEnabled = NO;
[view addSubview:growingTextView];
http://www.flickr.com/photos/[email protected]/6975525727/
UIView *view = [[[UIView alloc] initWithFrame:CGRectMake(0, 50, 320, 41)] autorelease];
view.backgroundColor = [UIColor grayColor];
[self.view addSubview:view];
UITextView *growingTextView = [[UITextView alloc] initWithFrame:CGRectMake(0, 10, 200, 27)];
growingTextView.font = [UIFont fontWithName:@"Helvetica" size:13];
growingTextView.scrollEnabled = NO;
[view addSubview:growingTextView];
는 사람이 행동을 관찰 설명 할 수 ???