IOS 개발에 새로운 점. 두 개의 버튼 "보기"와 "취소"보기가 있지만 강조 표시가 없습니다. 복사/컵/붙여 넣기 용 롱 프레스를 허용하는 pdf 상단에 나타납니다). 사실 "하이라이트"는 정말 빠르지 만, 취소는 상태를 전혀 변경하지 않습니다. 어떤 원인이이 원인 일 수 있습니다.버튼이 터치로 강조 표시되지 않음
-(IBAction)create:(id)sender{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Name your object" message:@"" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Save",nil];
alert.alertViewStyle = UIAlertViewStylePlainTextInput;
[alert show];
}
-(IBAction)cancel:(id)sender{
[self.view removeFromSuperview];
[[NSNotificationCenter defaultCenter] postNotificationName:kExitAnnotationView object:nil ];
}