Tabs

iPhone&Androidのアプリ制作・デザイン

*

CGAffineTransformIdentity

      2014/11/21


アフィン変換がされたビューを,初期状態(アフィン変換がされていない状態)に戻す

// Viewのサイズをx方向に1.5倍、y方向に1.5倍
myView.transform = CCAffineTranceformMakeScale(1.5, 1.5);
// アフィン変換の解除(初期化)
myView.transform = CGAffineTransformIdentity;


 - Begin

  関連記事

eyechatch_xcode_tips-300x300
UIButton 同時押し制御

UIButton *myBtn = [UIButton alloc] init] …

no image
iPhone画面サイズ

3.5inch 320 x 480px (Retina 640 x 960px) …

eyechatch_xcode_tips-300x300
.selected

インスタンス名.selected で BOOLを宣言せずにボタンのON/OFF状 …

no image
UIImageViewにボタンを貼りたい場合

タイトル画面などを作りたい場合、UIImageViewを使用して背景などを作るこ …

no image
UIImageView 画像の差し替え

[UIImageView alloc] 後の画像を変換する時は下記コードを参照し …

no image
BGM・SE 導入方法

音楽:導入方法 1… AVFoundationフレームワークを追加 2… hファ …

no image
ステータスバーを隠す方法

Deployment Info の Status Bar Style 下部にある …

eyechatch_xcode_tips-300x300
ボタンに画像(背景)を指定する

// ボタンのサイズを指定する UIButton *startBtn = [[U …

no image
UIView

タイトル画面の背景など、新たにビューを追加した場合 UIViewを生成し sel …

no image
画面ローテーション

画面ローテーションを制御する場合は下記を追加する – (BOOL)s …