htmlファイルでphpを動かすための.htaccessファイルの設定
.htaccessファイル内に以下の行を記述します。
AddType application/x-httpd-php .htm .html
当然の前提条件として、htaccessの動作が許可されているサーバに限ります。…
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];
graffiti on the web
この投稿へのコメント
コメントはまだありません。