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

  関連記事

no image
画面ローテーション

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

eyechatch_xcode_tips-300x300
Xcode6 GameCenter 実装

Xcode6(iOS7以上)でのGameCenter実装 検索であまり見つからな …

eyechatch_xcode_tips-300x300
SNS連携

Twitter・Facebookとの連携は #import <Social …

no image
UIView

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

eyechatch_xcode_tips-300x300
UIButton 同時押し制御

UIButton *myBtn = [UIButton alloc] init] …

no image
iPhone画面サイズ

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

no image
UILabelをコードで生成(Tips付)

Main Storyboard (IB)に用意されている Label を使わずに …

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

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

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

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

no image
SubViewの重ね順を変更する

SubViewの重ね順を最前面に移動する場合 bringSubviewToFro …