[IOS] UIWebView 자동 넓이 변경
UIWebView를 사용하다보면 view 안에서 좌우 넓이를 자동으로 변경해야 될 경우가 생긴다 (회전시)
다음과 같이 사용하면 된다.
webview.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight
self.view = webview
다음과 같이 사용하면 된다.
webview.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight
self.view = webview
오류!
이 게시판은 회원만 글읽기가 가능합니다. 로그인해 주세요.
댓글을 작성하시려면 로그인이 필요합니다.