'Images'에 해당되는 글 3건

  1. 2010.10.30 [아이폰 앱 개발] Display Images
  2. 2010.10.30 [아이폰 앱 개발] Animation: Series of images
  3. 2010.10.12 Display Images
아이폰어플개발정보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. 06:18
[아이폰 앱 개발] Animation: Series of images

Animation: Series of images

Show a series of images in succession
NSArray *myImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"myImage1.png"], [UIImage imageNamed:@"myImage2.png"], [UIImage imageNamed:@"myImage3.png"], [UIImage imageNamed:@"myImage4.gif"], nil]; UIImageView *myAnimatedView = [UIImageView alloc]; [myAnimatedView initWithFrame:[self bounds]]; myAnimatedView.animationImages = myImages; myAnimatedView.animationDuration = 0.25; // seconds myAnimatedView.animationRepeatCount = 0; // 0 = loops forever [myAnimatedView startAnimating]; [self addSubview:myAnimatedView]; [myAnimatedView release];

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 오늘마감

댓글을 달아 주세요