Tabs

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

*

LaunchImage 関連の設定

      2015/01/18


▼アプリ起動時のスプラッシュ画面
通常はチラっと一瞬だけ表示されるスプラッシュ画面(ロゴとか表示する為のLauncher画面)を、1秒間表示させる設定

AppDelegate.h に

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // 1秒間停止させる
    sleep(1);
    return YES;
}

 - Begin

  関連記事

no image
NSLog まとめ

デバッグする時などに、ログを出力する方法としてNSLogを使用します。 文字列を …

no image
乱数のこと

乱数(ランダムな数)を取り出す際 rand や arc4random を使用しま …

no image
iPhone画面サイズ

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

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

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

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

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

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

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

no image
CheatSheet

Xcodeの便利なショートカットキー 良く使ってるなと感じたら追記 Cmd+Al …

eyechatch_xcode_tips-300x300
Xcode6 GameCenter 実装

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

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

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

eyechatch_xcode_tips-300x300
UIButton 同時押し制御

UIButton *myBtn = [UIButton alloc] init] …

PREV
SNS連携
NEXT
.selected