並び順

ブックマーク数

期間指定

  • から
  • まで

281 - 315 件 / 315件

新着順 人気順

UINavigationBarの検索結果281 - 315 件 / 315件

  • iPhoneアプリをGameCenterのLeaderboard(ランキング)に対応させる方法 » SHINGOLOG

    iPhoneアプリをGameCenterのLeaderboard(ランキング)に対応させる方法 2012年1月6日 in Objective-c iOS4.1よりAppleが提供するGameCenterを組み込むことができるようになりました。このGameCenterのGameKitを使えば、スコアの送信や、ランキング確認などの機能を簡単にアプリ内に入れることができます。自分で作るとすればサーバーも必要で、ちょっと大変なのでありがたい機能です。ちょうど今、iPhoneアプリでパズルゲームを作っているので組み込むために調べたことのまとめです。 GameCenter(GameKit)で何が出来るか 詳しい説明はAppleの公式ドキュメントにも記載がありますが、出来ることはざっくりこんなこと。 認証 LeaderBoard オートマッチ ボイス LeaderBoardを使って、スコアの送信やラン

    • iOS5から使えるAppearanceを使って、Navigationbarをカスタマイズする | PLUS

      iOS5から、ナビゲーションバーやタブバーなどを一括設定で設定できるようになりました。このことで、背景の色や文字色、背景画像を使ったりとバリエーションを簡単に増やすことができるようになっています。 ナビゲーションバーの背景画像を設定 全てのビューに適用させたいので、AppDelegate.mに記述して一括設定します。起動直後に動くdidFinishLaunchingWithOptionsの中に設定を記述します。 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { UIImage *image = [UIImage imageNamed:@"back.png"]; [[UINavigationBar appearance]

      • 【Swift】Xcode9+iOS11でUINavigationBarが正しく表示できなくて困った話

        どうも。Reoです。 Xcode9にアップデートしてSwift4デビューもして早10日。 Swift3からSwift4にアップデートは殆ど何事もなくすんなりとアップデートしていて、Swift4の状態で10日くらい作業を進めていました。 そして作業をほとんど終え、後はiOS11にアップデートしてチェックしてから審査だそうというところまで来て、いざiOS11でビルドしてみて驚愕。 なんやこの白い隙間は!!!!! なんやこのスタンプはwwwwwwwwww 比較すると、Xcode9+iOS11にすると以下のようになってしまいました。 結論から言うとXcode9のバグらしいです。 スタンプがおかしくなったのはコードを付け足せばすぐに戻すことができたのですが、この高さがおかしいのだけはどうにもならなくてめちゃくちゃ困りました。 iOS11になってUINavigationBarがガラッと変わってしまった

          【Swift】Xcode9+iOS11でUINavigationBarが正しく表示できなくて困った話
        • UIViewの階層構造を解析 | iPhoneアプリ練習帳

          これはちょっとグレーな話題です。UIViewのsubViewメソッドを実行すると、そのView内に含まれているViewの一覧を取得できます。再帰的に実行すれば、全てのViewの構造がわかります。これを使うとフレームワークに含まれている特殊なViewの中もみごとに解析できちゃいます。 SubViewをすべて表示するためのメソッド 2番目のメソッドを呼び出すと、1番目のメソッドが実行され、階層構造がコンソールに表示されます。なお、20階層以上を超える場合はエラーが発生するのでご注意下さい。 -(void)dumpSubViews: (UIView*) view depth: (int) depth{ NSString * indent = [@"--------------------" substringToIndex:depth]; NSLog(@"%@%@", indent, view)

          • 【iOS15.0】UINavigationBarが黒や透明になる問題の修正

            はじめに iPhone13が出る狭間でアプリ開発をしていました。 開発をしている途中はなるべくリリースまでXcodeのバージョンを上げたくはなかったのですが、iOS15系の端末で実行すると、UINavigationBarの背景色のデザインがiOS14系と異なることに気がつきました。既に書かれた内容かもしれませんが、自分用のメモとして書き残しておきたいと思います。よろしくお願いします。 動作環境について Xcode Version 13.0 Swift 5.5 ちなみにXcode13.0だと以下の画像のように、StoryBoardで色を指定しても色が変わりません。 解決方法 もともとLarge Titleでのみに反映されていたScroll Edge Appearanceが全てのUINavaigationBarに適応されたのが原因の模様。 なので、iOS15もiOS14以下のバージョンもアプリ

              【iOS15.0】UINavigationBarが黒や透明になる問題の修正
            • Achieving bright, vivid colors for an iOS 7 translucent UINavigationBar

              iOS 7.1 UPDATE: Looks like the workaround for modifying the alpha channel in the UINavigationBar has been ignored in this update. Right now, the best solution seems to be to just 'deal with it' and hope that whatever color you choose can render a translucent effect. I am still looking into ways of getting around this. iOS 7.0.3 UPDATE: The GitHub library we created has been updated to slightly wor

                Achieving bright, vivid colors for an iOS 7 translucent UINavigationBar
              • SplitView Application In iPad - EDUmobile.ORG

                This is the SplitView application. Split View application is applicable only for the iPad devices. We will see here how to use Split View in the application. We are using here UISplitViewController for displaying two side by side view controller.  Left side view controller presents a list of item and right side view controller  presents details of the selected item. So let see how it will be worke

                  SplitView Application In iPad - EDUmobile.ORG
                • iPhone Arrow Icons - Conor Mulligan

                  I couldn't find any decent high-resolution arrow icons on the web suitable for use in a UINavigationBar or UIToolbar, so I put my limited Photoshop skills to the test and created my own. There are eight icons in total: four directions in both standard and high-definition sizes. They're basically a recreation of the up and down arrows found in Mail.app and the forward and back icons found in Mobile

                  • UINavigationBar custom back button without title

                    How can I customize the navigation back button in iOS 7 and above without title? (i.e. with the arrow only) self.navigationItem.leftBarButtonItem = self.editButtonItem; I'm just wondering if they have any self.backButtonItem; OR something like this? self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemBACK target:self action:@selector(ba

                      UINavigationBar custom back button without title
                    • [Swift]UINavigationBarのタイトルの付け方

                      iOSとは、Apple製のスマートフォンであるiPhoneやタブレット端末のiPadに搭載しているオペレーションシステム(OS)です。その他にもiPod touch・Apple TVにも搭載されています。

                        [Swift]UINavigationBarのタイトルの付け方
                      • 【SwiftUI】iOS 16.1でUINavigationBar.appearance().tintColorの設定が反映されなくなっていることに気付いて対応した | DevelopersIO

                        iOS 16.1のシミュレータでアプリを触っていると、UINavigationBar.appearance().tintColorで設定しているはずのNavigationBarの戻るボタンの色がデフォルトの色になっていることに気付いたので対応しました。 環境 Xcode 14.1 コード import SwiftUI struct ContentView: View { init() { setupNavigationBarTintColor() } var body: some View { NavigationView { NavigationLink("Next") { NextView() .navigationBarTitleDisplayMode(.inline) } } } private func setupNavigationBarTintColor() { // Nav

                          【SwiftUI】iOS 16.1でUINavigationBar.appearance().tintColorの設定が反映されなくなっていることに気付いて対応した | DevelopersIO
                        • UIViewControllerにナビゲーションバーとツールバーを追加 | ULTRA-PRISM Blog

                          iPhone/iPad,Android,WordPress,PHPなど、日々の活動で面白かったことや気付いたことなどを書き込んでいきます。iOS5環境でUIViewControllerにナビゲーションバー(UINavigationBar)とツールバー(UIToolbar)をやっと追加できました。書籍とかネットで調べてもなかなか見つからず、試行錯誤してようやく実現できました。 ただ、ソースコードの美しさ的には、ちょっと難がありまして、もやっとした気分です。 一応以下にサンプルコードを紹介します。 // タイトルの設定 self.navigationItem.title = @"タイトル"; // タイトルの右側にボタンを作成 UIBarButtonItem* navRightItem = [[UIBarButtonItem alloc]initWithTitle:@"右側" style:UI

                          • 【Swift4】UINavigationControllerのNavigationBarをカスタマイズしてみた。【高さ変更】

                            【Swift4】UINavigationControllerのNavigationBarをカスタマイズしてみた。【高さ変更】 どうも。Reoです。Swift記事はお久しぶりですね。 今回は、UINavigationController内のナビゲーションバーをカスタマイズしてみました。 ずっとUINavigationBarを単独で使っていたのですが、iPhoneXが出て、単独だとセーフエリアを考慮するのがとても面倒なことを実感しました。なので最近はUINavigationControllerを使う方向に移行しています。 以前「【Swift】Xcode9+iOS11でUINavigationBarが正しく表示できなくて困った話」という記事を書いたのですが、これも結局iPhoneX対応ではなく、高さをちゃんと表示するための対応策でしかないんですよね。 これだと結局UINavigationBarを

                              【Swift4】UINavigationControllerのNavigationBarをカスタマイズしてみた。【高さ変更】
                            • ActionBarCompatでAndroidらしいタイトルバーを作る

                              iPhoneだと、UINavigationBarを用いて、画面上部に画面タイトルとボタンを表示させます。同様のことは、Androidではどうやって実装するのでしょうか? FacebookとYammerの例 FacebookとYammerの例を見てみます。 iPhoneでは、バーの中央にタイトルを表示し、左右にボタンをひとつずつ置くことができます。左は「戻る」ボタンにも使います。 Androidでは、タイトルを中央でなく左に置くのが主流のようです。Androidでは「戻る」ボタンはハードウェアで実装されています。だから左が詰まってしまっても問題ないんですね。そして、右側にはボタンを複数個置きます。 Action Bar このバーはどうやって実装するのかというのを調べてみると、Action Barという名前が出てきました。 ActionBarにMenuを表示する しかしながら、Android3

                                ActionBarCompatでAndroidらしいタイトルバーを作る
                              • http://iphone-sandbox.googlecode.com/svn/wiki/UIKitSymbols.wiki

                                #summary UIKit縺ョ縺ェ縺九r縺悶▲縺上j縺ゅ&縺」縺ヲ縺ソ縺溽オ先棡繧偵∪縺ィ繧√※縺ソ縺セ縺励◆ = PATH = * /Accessories/ * /Applications/ * /freeproductcodewizard? * /Library/Keyboard * /Library/TextInput * /maps * /SourceCache/UIKit/UIKit-629.1/UIAlert.m * /SourceCache/UIKit/UIKit-629.1/UIApplication.m * /SourceCache/UIKit/UIKit-629.1/UIDateLabel.m * /SourceCache/UIKit/UIKit-629.1/UIDatePicker.m * /SourceCache/UIKit/UIKit-629.1/UILabe

                                • Not Found

                                  • PrettyKit - Cocoa Controls

                                    PrettyKit is a small set of new widgets and UIKit subclasses such as UITableViewCell, UINavigationBar or UITabBar that gives you a deeper UIKit customization. You will be able to change their background color, add gradients, shadows, etc.

                                      PrettyKit - Cocoa Controls
                                    • iOS5 対応のあれこれ | Technologic

                                      今日はまちに待った iOS5 の正式リリースの日です! iPhone アプリデベロッパは各種端末やシミュレータで iOS5 正式版の対応を進めていると思いますが、僕が気づいた点をメモしておきます。Xcode 4.2 での作業になります。 メモ1:armv6 ではビルドできないの? Xcode 4.2 では上記のようになっていますが下記のように armv6 を追加してあげれば多分ビルドできます。 メモ2:なんか以下の部分( __dyld__dyld_start )で落ちるんですけど。 (参考:http://stackoverflow.com/questions/7668857/updated-xcode-for-ios5-app-wont-run-stops-at-dyld-dyld-start) おそらく、weak_library 使ってるのが原因だと思います。 -weak_librar

                                      • UIBarButtonItem & iOS 11

                                        Overview iOS 11 and Xcode 9 have officially been out for just over a month now and one interesting area that had some changes is the behaviour of UIBarButtonItems within UINavigationBar. Here are my findings so far … Changes In summary the highlights are: Tap areas of custom view UIBarButtonItems are now smaller The back button’s tap area is also smaller The back button label no longer automatical

                                          UIBarButtonItem & iOS 11
                                        • Don’t Miss These Navigation Bar Interactions in iOS8

                                          Posted on September 15th, 2014 Have you noticed how nicely the mobile Safari navigation bar condenses on scroll, and how the tab bar disappears? In iOS8, Apple has made this type of interaction (and more!) very easily available to us all – well, almost… While Apple demoed the condensing navigation bar at WWDC, they have since changed it to hiding the navigation instead, and the tab bar is not incl

                                            Don’t Miss These Navigation Bar Interactions in iOS8
                                          • UINavigationBar | Apple Developer Documentation

                                            Navigational controls that display in a bar along the top of the screen, usually in conjunction with a navigation controller.

                                              UINavigationBar | Apple Developer Documentation
                                            • Pixate Engine for iOS Styling Reference

                                              The Pixate Engine for iOS Styling Reference provides the details of the Pixate Engine from a designer's perspective. It summarizes the Pixate Engine's CSS3 support, and the style-able iOS native controls and their properties. Table of Contents App Styling with Pixate Engine for iOS Application Structure Specificity CSS Media Queries Inline CSS Importing Style Sheets Media Assets CSS Selectors Simp

                                              • 2010-09-07 - まったり開発Blog

                                                こういう色分けしたサブカテゴリがあるとして、紫のをタップしたら次の階層は こうなるようにしたかった。けれどただUINavigationBarのtintColorを変えたのでは、遷移アニメーションと関係なく色が切り替わってしまう。これはよろしくない。アニメーションと一緒にじわっと切り替わってほしい。 そこでCATransitionを使ってみた。UINavigationBarのカテゴリ。 #import <QuartzCore/QuartzCore.h> #import "RTDUINavigationBarAdditions.h" @implementation UINavigationBar (RTDUINavigationBarAdditions) -(void)setTintColor:(UIColor *)aColor animated:(BOOL)aBool { if (aBool

                                                  2010-09-07 - まったり開発Blog
                                                • sonson@Picture&Software - [iPhone] HelloWorld

                                                  1.アプリケーションクラス int main(int argc, char **argv) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; return UIApplicationMain(argc, argv, [MyApp class]); [pool release]; } UIApplicationがアプリケーションのインスタンスとなる. main文の中でallocされる. 2.アプリケーションクラスの実装 初期化は,アプリケーション起動後に呼ばれるメソッド,applicationDidFinishLaunchingに実装するのが良いようだ. @implementation MyApp - (void) applicationDidFinishLaunching: (id) unused { // Get

                                                  • The Making of Prixing #1: Fly-in App Menu - Cyril Mottier

                                                    “It’s the little details that are vital. Little things make big things happen.” – John Wooden Twitter G+ RSS Note: Everything I published on this website in the past had nothing to do with what I was doing at work. But now for Prixing I’m changing that, because I think it can be a great opportunity for me to give other developers some advanced Android UI development tips and tricks. As this is the

                                                    • 한국 아이폰

                                                      최신 아이폰 휴대폰 소식을 제공합니다.

                                                        한국 아이폰
                                                      • 開発する為のメモ集 UINavigationControllerのメモ

                                                        nibを使わないUINavigationControllerを使った時に いろいろと嵌った内容を忘れないようにメモ 1.回転について autoresizingMaskで色々設定しても 上手くリサイズしてくれない。 safariのお気に入りにて回転を許してないぐらいだからバグなのか? なので、 shouldAutorotateToInterfaceOrientationの戻りでNOを返却するようにする 2.タイトルについて navigationControllerのpushViewControllerメソッドで追加したビューにタイトルを設定してもナビゲーションバー上にタイトルが表示されず。 同様に初期状態でのinitWithRootViewControllerにて追加したビューにもタイトルが設定されず ビュー内部で [self.navigationItem setTitle:title];

                                                        • NavigationBarのタイトルを画像にする方法 - いろいろつまみ食い

                                                          できないとばかり思っていた・・ controller.hに IBOutlet UINavigationBar* navigationBar;とIBOutletを設定して xibでUINavigationBarをViewにはりつけて Delegateを張っておく。 で、viewDidloadとかで UINavigationItem* item = [navigationBar.items objectAtIndex:0]; item.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"hello_logo.png"]];とすればいいと・・ はぁ、、知りませんでした。 詳しくは・・ http://stackoverflow.com/questions/289441/uinavigationcontroller

                                                            NavigationBarのタイトルを画像にする方法 - いろいろつまみ食い
                                                          • 【Swift】Navigation Barの使い方。タイトルを画像にしたり、高さや行数を変更する方法。(Swift 2.1、XCode 7.2) | はじはじアプリ体験メモ

                                                            ナビゲーションバーのタイトルをカスタマイズする 本記事では、Navigation Item(以下、ナビゲーションアイテム)に設定するタイトルをカスタマイズする方法を説明する。 タイトルを画像にする まずはタイトルを画像に変更してみよう。作業開始前のXcodeプロジェクトをGitHubに置いたので、手順を試してみる人はご利用されたし。 ⇒「テスト用プロジェクト」 ViewController.swiftを以下のコードに変更する。 ナビゲーションアイテムはtitleプロパティの他にtitleViewというプロパティも持っていて、titleViewプロパティに値を設定するとそれが優先されてタイトルに表示される。 // // ViewController.swift // import UIKit class ViewController: UIViewController { override

                                                              【Swift】Navigation Barの使い方。タイトルを画像にしたり、高さや行数を変更する方法。(Swift 2.1、XCode 7.2) | はじはじアプリ体験メモ
                                                            • Beyond The Button: Embracing The Gesture-Driven Interface — Smashing Magazine

                                                              If you are a mobile UI or UX designer, you probably remember the launch of Apple’s first iPhone. It introduced a completely touchscreen-centered interaction to a individual’s most private and personal device. It was a game-changer. Today, kids grow up with touchscreens, and touch and gesture interactions have a lot of potential to make mobile experiences easier and more fun to use. As a mobile UI

                                                                Beyond The Button: Embracing The Gesture-Driven Interface — Smashing Magazine
                                                              • setStatusBarHidden:NO after XIB load covers UINavigationBar

                                                                When setStatusBarHidden:NO is set before the view loads, the UINavigationBar and other elements appear aligned immediately below the StatusBar as they should. However, when setStatusBarHidden:NO is set after the view loads, the UINavigationBar is partially covered. The StatusBar must be revealed after loading the said view, but how can this be done without encountering the aforementioned problem?

                                                                  setStatusBarHidden:NO after XIB load covers UINavigationBar
                                                                • UINavigationBarに背景画像を指定する方法 - 廣川政樹の開発ブログ - Dolice Lab

                                                                  Objective-Cでナビゲーションバーに背景画像を指定するサンプルを以下に作成しました。iOSのバージョンを判別し、iOS5.0以上とそれ以外でリソースの取得方法を分けています。 ナビゲーションバーの背景画像の寸法は、縦幅320×横幅44ピクセルで作成しています。サンプルには PSDファイルも入っていますので、お好みのデザインに編集してご使用ください。 サンプルダウンロード https://github.com/masakihirokawa/objc-ui-navigationbar-custom-image ソースコード - (void)initNavigationBar { //ナビゲーションバーを初期化 UINavigationBar *navigationBar = [[UINavigationBar alloc] initWithFrame:CGRectMake(0, 0,

                                                                    UINavigationBarに背景画像を指定する方法 - 廣川政樹の開発ブログ - Dolice Lab
                                                                  • UINavigationBar を表示しつつ、その他のインターフェイスの座標は変えない « 水色のドア

                                                                    UINavigationController を使うと、デフォルトでは UINavigationBar 以外のインターフェイスが44pxずれますね。 ずれを無くすためには、一行加えればOKです。 - (void)viewWillAppear:(BOOL)animated { // UINavigationBar 44px のずれを無くす self.navigationController.navigationBar.translucent = YES; } なお、UIStatusBar 20px 分のずれも無くす場合、次のように書きます。 - (void)viewWillAppear:(BOOL)animated { // UINavigationBar 44px のずれを無くす self.navigationController.navigationBar.translucent

                                                                    • iPhone.design » プログラマではない人のためのiPhone アプリ制作ガイド[ブログ編]

                                                                      iPhoneアプリ制作にあたって参考にさせていただいたブログです。 開発中は本当にたくさんのブログにお世話になりました。ありがとうございます。 基本編 @IT:Cocoaの素、Objective-Cを知ろう iPhoneアプリ開発の虎の巻 福井高専IT研究会OfficialWiki サルにもできるiPhoneアプリの作り方 Cocoa と touch, Cocoa で touch: iPhone SDK アプリ開発をやっている人なら、恐らく誰でも一度は見たことのあるサイトではないかと思います。「 iPhoneアプリ開発の虎の巻」や「福井高専IT研究会OfficialWiki」は開発中は毎日のように通っていました。 「サルにもできるiPhoneアプリの作り方」はフォーラム(寺子屋)もあり、開発者同士の意見交換なども行われています。 C言語 Inokuchi Home Page:X

                                                                      • [XCODE] UINavigationBarの左右にボタンを追加するいろいろな方法 - YoheiM .NET

                                                                        こんにちは、@yoheiMuneです。 今日は、ナビゲーションバーにボタンを追加する方法をブログに残したいと思います。 簡単なことなのですが、いつも忘れてしまうので、備忘録としても残したいと思います(・∀・) ナビゲーションバーに追加するボタン ナビゲーションバーには、UIBarButtonItemを使ってボタンを追加することが出来ます。 追加可能なボタンは選択の自由が広く、UIBarButtonItemは様々な作り方が出来ます。 上図の挿絵は、ナビゲーションバーの左右にボタンが配置されたイメージとなります。 UIBarButtonItemの作り方とナビゲーションバーへの追加方法 以下のようにいくつか作り方があります。それぞれ用途にあった方法で作成することが可能です。 表示文字列を指定してUIBarButtonItemを作成する // UIBarButtonItemに表示文字列を渡して、イ

                                                                          [XCODE] UINavigationBarの左右にボタンを追加するいろいろな方法 - YoheiM .NET