아이폰어플개발정보2010. 10. 30. 23:13
[아이폰 앱 개발] Display Images

Display Images

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.
CGRect myImageRect = CGRectMake(0.0f, 0.0f, 320.0f, 109.0f); UIImageView *myImage = [[UIImageView alloc] initWithFrame:myImageRect]; [myImage setImage:[UIImage imageNamed:@"myImage.png"]]; myImage.opaque = YES; // explicitly opaque for performance [self.view addSubview:myImage]; [myImage release];
Posted by 오늘마감

댓글을 달아 주세요

아이폰어플개발정보2010. 10. 30. 10:18
[아이폰 앱 개발] Display the Network Activity Status Indicator

Display the Network Activity Status Indicator

This is the rotating icon displayed on the iPhone status bar in the upper left to indicate there is background network activity taking place.
UIApplication* app = [UIApplication sharedApplication]; app.networkActivityIndicatorVisible = YES; // to stop it, set this to NO


http://www.iphoneexamples.com/
Posted by 오늘마감

댓글을 달아 주세요

아이폰어플개발정보2010. 10. 12. 05:59
Display Images

Display Images

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.
CGRect myImageRect = CGRectMake(0.0f, 0.0f, 320.0f, 109.0f); UIImageView *myImage = [[UIImageView alloc] initWithFrame:myImageRect]; [myImage setImage:[UIImage imageNamed:@"myImage.png"]]; myImage.opaque = YES; // explicitly opaque for performance [self.view addSubview:myImage]; [myImage release];

'아이폰어플개발정보' 카테고리의 다른 글

cancel alert  (0) 2010.10.12
UIBarButtonItem을 viewDidLoad에서 만들고 숨기기  (0) 2010.10.12
Display Images  (0) 2010.10.12
Application Frame얻기  (0) 2010.10.12
A basic UIWebView  (0) 2010.10.12
Animation: Move an object  (0) 2010.10.12
Posted by 오늘마감

댓글을 달아 주세요