티스토리 뷰

반응형

//상태창에 네트워크 연결상태 표시  default = NO;
[[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:YES];

//상태창 숨김(인디게이터) 
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];


//화면 자동 잠김 설정 default = NO
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];

//화면 회전 시키기
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationPortrait animated:NO];
//UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight
반응형

'iOS > 자료정리' 카테고리의 다른 글

[iPhone]화면 회전  (0) 2011.04.13
[iPhone]TabbarController  (0) 2011.04.12
[iPhone]NSDate  (0) 2011.03.18
[iPhone]TableView 사용  (0) 2011.03.14
[iphone]sqlite에 엑셀(xls) 파일 집어 넣기.  (0) 2011.02.07
댓글
반응형