반응형 Developer217 webview -(void)goWebView:(NSString *)url{ [self.webViewController setStrWeburl:url]; [self.webViewController.view setFrame:CGRectMake(0, self.webViewController.view.frame.size.height*(-1), self.view.frame.size.width, self.view.frame.size.height)]; [self.view addSubview:self.webViewController.view]; [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.5f]; [self.webViewController.view.. 2013. 8. 20. 로딩 시간 조절 [NSThread sleepForTimeInterval:2]; 2013. 8. 20. view handle 출처 -http://meetkei.com/?p=335모든 하위뷰 목록NSArray subViewArray = [parentView subviews]; 하위뷰 추가[parentView addSubview:subview]; 하위뷰 제거[childView removeFromSuperView]; 하위뷰간의 순서 변경[parentView exchangeSubviewAtIndex:idx1 withSubviewAtIndex:idx2]; 가장 앞/뒤로 보내기[parentView bringSubviewToFront:targetSubview];[parentView bringSubviewToBack:targetSubview]; 태그 설정 및 접근[someView setTag:1];[parentView viewWithTag:.. 2013. 8. 12. 카테고리 사용법 UIViewControll+OverlayView.h1234567#import @interface UIViewController (OverlayView) -(void)showLayer:(NSString *)message;-(void)hideLayer;@endUIViewController+OverlayView.m123456789101112131415161718192021222324252627282930313233#import "UIViewController+OverlayView.h" @implementation UIViewController (OverlayView) -(void)showLayer:(NSString *)message{ UIView *layer = [[UIView alloc] initWithFr.. 2013. 8. 12. 이전 1 ··· 39 40 41 42 43 44 45 ··· 55 다음 반응형