를 생성이고 나는이 코드를 사용하여에 페이지를로드 해요 : 나는 응용 프로그램을 실행할 때, 그러나내 코코아 응용 프로그램에 웹보기를 추가 그리고 내가 내 응용 프로그램에 웹보기를 추가 오류
-(void)awakeFromNib{
NSString *resourcesPath = [[NSBundle mainBundle] resourcePath];
NSString *htmlPath = [resourcesPath stringByAppendingString:@"/calendarHTML/test.html"];
[[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:htmlPath]]];
}
을 이 문제를 일으키는
Layout still needs update after calling -[WebHTMLView layout].
WebHTMLView or one of its superclasses may have overridden
-layout without calling super. Or, something may have dirtied
layout in the middle of updating it. Both are programming errors in
Cocoa Autolayout. The former is pretty likely to arise if some
pre-Cocoa Autolayout class had a method called layout, but it should be fixed.!
무엇 : 나는 다음과 같은 오류가 발생?
噢 오, 사랑해. 고마워. –