앱을 개발 중이며 실수로 iOS Simulator 4.3에서 실행했습니다. 응용 프로그램이 잘 작동합니다.iOS 5 - 버튼 작동이 중지됩니다.
모달보기 컨트롤러를 닫을 예정인 버튼이 iOS5 시뮬레이터로 변경되면 더 이상 작동하지 않습니까? 어떤 아이디어?
(방법은 컨트롤러 전화) :
if (self.infoModalController == nil)
self.infoModalController = [[[InformationViewController alloc] initWithNibName:
NSStringFromClass([InformationViewController class]) bundle:nil] autorelease];
[self.navigationController presentModalViewController:self.infoModalController animated:YES];
(방법은 기각) : 아래
내 코드입니다- (void)dismissButtonPressed:(id)sender
{
[self.parentViewController dismissModalViewControllerAnimated:YES];
}
뷰로드 미세하지만 해고하지 않습니다 ?
미리 환호하십시오!
로렌스