iOS Reference Library
日本語に翻訳されたiOSのドキュメントです。
スタンフォードiPhone Application Programming
アップルの現役社員による講義(スタンフォード大学の授業)が見られます。
iPhone Application Programming Course (CS 193P)
2010 Winter
講義動画…
IBOutlet UIImageView *bgImage;
@property(nonatomic,retain) IBOutlet UIImageView *bgImage;
上記のようなbgImageがInterfaceで宣言され、Interface Builder上に、UIImageViewが配置されているとすると以下のように実装すれば、該当箇所に画像が挿入されます。もしくは、以下のようにします。bgImage.image = [UIImage imageNamed:@”bg.png”];
UIImage *image = [UIImage imageNamed:@”bg.png”];
[bgImage setImage:image];
この投稿へのコメント
コメントはまだありません。