ゲーム2作目もあと少しで完成というところまできました。 今回はゲーム内のチュートリアルとして、UIAlertViewに画像で表示させてみました。 Cocoaの日々: [iOS] UIAlertView 上に UIProgressView を載せる [2] キャンセルボタン表示 こちらの記事を参考にしています。 というか、UIProgressViewがUIImageViewになっただけで、ほぼそのままです。 まず、表示させたい画像を用意します。 今回は、260x300 pxの画像を用いました。 これでタイトルとメッセージ、ボタンと合わせて大体画面いっぱいくらいになります。 やり方としては、 1.UIAlertViewDelegate を設定しておく 2.AlertView に 表示させたい UIImageView を addSubView する 3.アラート表示前に、下記メソッドが呼ばれるの
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く