Created
July 3, 2012 08:54
-
-
Save inonb/3038599 to your computer and use it in GitHub Desktop.
[iOS] イメージビューのIBOutlet作成と画像の表示
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ViewController.h に IBOutlet を作成 | |
@property (strong, nonatomic) IBOutlet UIImageView *imageView; | |
// ViewController.m で 画像をセット | |
//(あらかじめ image_name.png をプロジェクトに追加) | |
self.imageView.image = [UIImage imageNamed:@"image_name"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment