並び順

ブックマーク数

期間指定

  • から
  • まで

161 - 200 件 / 315件

新着順 人気順

UINavigationBarの検索結果161 - 200 件 / 315件

  • UIToolbar の背景を画像にする

    UINavigationBar の背景を画像にするでは、UINavigationBar の背景を画像にする方法を紹介しました。基本的には UIImageView を UINavigationBar に insertSubview: atIndex: すればよかったのですが、ひと工夫が必要でした。 では、UIToolbar の背景を画像にする方法はどうでしょうか。 今回は、UIToolbar の背景を画像にする方法を紹介します。 UIToolbar の背景を画像にするには、UIImageView を UIToolbar に insertSubview: atIndex: すればそれで OK です。UINavigationBar の場合、ビューコントローラをプッシュしたりポップする過程でタイトルやバーボタンアイテムが UIImageView の後ろに潜り込んでしまう問題がありましたが、UITo

      UIToolbar の背景を画像にする
    • UINavigationBar の背景画像のカスタマイズ(iOS 4 と 5の違い)

      x-callback-url とはURLスキームを利用したアプリ間連携の仕組み。他アプリを呼び出すだけでなく、その名(コールバック)の通り呼び出し元で結果を受け取るまでの一連の動作を定めている。 x-callback-url 現在は 1.0 DRAFT...

        UINavigationBar の背景画像のカスタマイズ(iOS 4 と 5の違い)
      • iOS 7.0.3からナビゲーションバーにtintColorを指定すると半透明じゃなくなった - Qiita

        追記: iOS7.0.4にしてみましたが半透明じゃないままですね。 Facebookアプリで違いを見る Facebookアプリ(v6.6)のスクリーンショットで比較してみるとこんな感じ。 上がiOS7.0.2(iPhone5s)で、 下がiOS7.0.3(iPhone5)です。 いろいろ調べてみると、標準の写真アプリなどの白背景のナビゲーションバーは半透明になっていて、FacebookやInstagramなどのアプリは半透明がオフになっています。 自分でコードを書いて確認してみる UINavigationBarの新しいプロパティbarTintColrを使って色を変更するコードを書いてみます。 [UINavigationBar appearance].barTintColor = [UIColor colorWithRed:0.077 green:0.411 blue:0.672 alpha

          iOS 7.0.3からナビゲーションバーにtintColorを指定すると半透明じゃなくなった - Qiita
        • 【追記あり】iPhoneのネイティブアプリのデザインにCSSを使う方法の比較 - 病みつきエンジニアブログ

          ウェブサイトのCSSによるデザインの実装は、デザイナーの方が行うことが増えてきていますが、 iPhoneのネイティブアプリはエンジニアが行うことが多いのではないでしょうか。 「デザインの実装」というフェーズはデザイナーの方がしたほうが良いと僕は思っているので、ネイティブアプリをCSSでデザインするというのは自分にとっては期待の方法です。 ということで「Pixate」「NimbusKit」「NUI」という、3つの「CSS フレームワーク」を比較してみました。 ドキュメントやサンプルを軽くなめただけで、実際の使用感やバグなどはわかりませんので、ご了承下さい。 Pixate Pixate は、Appceleratorなどに支援されている、有料のCSSフレームワークです。最安で\18,479と、強気な値段・・・。 対応しているCSSはPixate Engine for iOS Styling Re

            【追記あり】iPhoneのネイティブアプリのデザインにCSSを使う方法の比較 - 病みつきエンジニアブログ
          • SwiftUIで対応しきれずUIKitを使ったコンポーネントのまとめ - スタディサプリ Product Team Blog

            こんにちは、iOSエンジニアの @elliekwon です。去年のiOSDC Japan 2021「スタディサプリ」がFull SwiftUIを選択した先に見えてきたものの発表で紹介させて頂いた通り、SwiftUIで開発してきた「スタディサプリ中学講座」ですが、SwiftUIでは対応しきれず、ごく一部UIKitを利用した機能も存在しています。この記事ではそれらのケースと対応策を紹介します。 事前知識 その前にSwiftUIからUIKitを使うため、先に知って貰えたいものがあります。 一つは UIViewRepresentable / UIViewControllerRepresentable と言うprotocolで、これらはSwiftUIでUIKitのUIView/UIViewControllerを使えるようにしてくれるwrapperです。 UIViewRepresentableに準拠し

              SwiftUIで対応しきれずUIKitを使ったコンポーネントのまとめ - スタディサプリ Product Team Blog
            • iOS 9 Tutorial Series: Protocol-Oriented… | CapTech Consulting

              Blog | October 23, 2015 iOS 9 Tutorial Series: Protocol-Oriented Programming with UIKit After the thought-provoking Protocol-Oriented Programming in Swift talk at WWDC 2015 (yeah, the "Crusty" one) it seems like everyone has been talking about protocol extensions, that exciting new language feature that makes everyone confused at least once. I've read countless articles about Swift protocols and t

                iOS 9 Tutorial Series: Protocol-Oriented… | CapTech Consulting
              • Using Appearance Proxy To Style Apps

                In a previous post I examined how with iOS 5 it became much easier to customise the appearance of some common UIKit controls using resizable images. In this post I want to go a little further and look at how to use appearance proxies to more fully style an applications user interface. I should mention that I am writing this post a few weeks ahead of the expected release of iOS 6. This discussion i

                  Using Appearance Proxy To Style Apps
                • iOS 11 UIKit の変更点 - ObjecTips

                  UIKit | Apple Developer Documentation UIKit 周りざっくり、網羅はしていない。 iOS 11 関連記事 iOS 11 Foundation の変更点 - ObjecTips iOS 11 Messages Framework の変更点 - ObjecTips iOS 11 PDFKit - ObjecTips iOS 11 Core Image の変更点 - ObjecTips Vision Framework でテキスト検出 Text Detection - ObjecTips Vision Framework で水平角検出(傾き) Horizon Detection - ObjecTips 変更点 ContentSizeCategory の比較とアクセシビリティチェックの関数が追加 UIKIT_EXTERN BOOL UIContentSize

                    iOS 11 UIKit の変更点 - ObjecTips
                  • iOSアプリ内でステータスバーをオンオフする際に、Rootviewがずれない様にする方法 – Zero4Racer PRO Developer's Blog

                    アプリ内の設定でステータスバーをオンオフすると、画面の位置がStatusバーとうまく合わなくて表示がおかしくなってしまうことがあります。 ステータスバーのオンオフによって、ビューの位置がおかしくなる この対策方法です。 iphone – Hiding UIStatusBar / Moving UINavigationBar – Stack Overflow こちらのページが参考になりました。 [[UIApplication sharedApplication] setStatusBarHidden:!TOVData.showStatus withAnimation:UIStatusBarAnimationNone]; UIView* superview = [self.navigationController.view superview]; int index = [superview.

                    • iOS11 & Xcode9 で UINavigationController の pushViewController が斜めになる問題対策 - しめ鯖日記

                      push遷移アニメーションが下のように斜めになってしまったので対策を調べてみました。 stackoverflowによると、遷移先のviewDidLoadでtableViewのcontentInsetAdjustmentBehaviorを.neverにすれば良いとのことでした。 popViewControllerの時のアニメーションは遷移元のcontentInsetAdjustmentBehaviorによるので、遷移先・遷移元の両方でセットすると良いかと思います。 if #available(iOS 11.0, *) { tableView.contentInsetAdjustmentBehavior = .never } 1つ1つのtableViewに設定するのが大変な時は、appearanceで設定すれば一括変更されます。 if #available(iOS 11.0, *) { UIT

                        iOS11 & Xcode9 で UINavigationController の pushViewController が斜めになる問題対策 - しめ鯖日記
                      • How I Wrote Vinylogue for iOS with ReactiveCocoa

                        Vinylogue is a simple app I designed and developed for iOS that shows your last.fm weekly album charts from previous years. This post will detail the process of creating V1.0 of the app from start to almost finish (is an app ever really finished?). The full source is available on GitHub. Warning: this post is super long (10000+ words). I spend a lot of time discussing ReactiveCocoa techniques, a l

                        • What properties can I set via an UIAppearance proxy?

                          Properties that can be set via UIAppearance are tagged with UI_APPEARANCE_SELECTOR in the corresponding header file. To generate a list of properties tagged with UI_APPEARANCE_SELECTOR, you can use the following unix commands in a terminal: cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer‌​/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/UIKit.framework/Headers gr

                            What properties can I set via an UIAppearance proxy?
                          • Xcode5で画面にナビゲーションバーを配置して利用する。

                            今回は「ナビゲーションバー」をiPhoneアプリの画面に配置して利用する方法を記載させていただきます。 どこかのエントリーでも同じ様な事を記載いたしまいたが、本エントリーでも「ナビゲーションコントローラ」を利用しない、 単独での利用を前提としており、純粋に、「ナビゲーションバー」で出来ることにフォーカスしてます。 「ナビゲーションコントローラ」につきましては、近々エントリーを作成する予定です。 利用しているXcodeはXcode5(5.1)となります。 本エントリーの内容は以下の通りです。 ナビゲーションバーの概要 コンポーネントとしてのナビゲーションバー ナビゲーションバーの実際の利用例 1 ナビゲーションバーの概要 画面上部に配置され、タイトルや、画面遷移イベントを発火させるためのボタンが配置されます。 バーの高さは88pxです。 なお、標準の部品を利用せず、独自にナビゲーションバー相

                            • iOS NavigationBarのタイトルにUILabelを配置してカスタマイズする。 | App Camp

                              iOS NavigationBarのタイトルにUILabelを配置してカスタマイズする。 2013年9月17日 Tryworks-Design Label, UINavigationController NavigationBarのタイトルが長過ぎたりすると、NavigationBarの中には収まりきらずに最後まで文字が表示されなくなってしまう。そんな時に文字のサイズなどを変更する時は「UILabel」をNavigationBarに配置する方法でカスタマイズするといい。 //ラベルを生成 UILabel* navigationTitle = [[UILabel alloc] init]; //ラベルの大きさと位置を調整 navigationTitle.frame = CGRectMake(0,10,320,25); navigationTitle.text = @"初心者からアプリ開発は

                              • iPhone Development 101

                                iPhone Device & Screen Sizes Default (Launch) Image Sizes for iPhone & iPad View Frames and Bounds The Status Bar - hiding; setting the color UIAlertView - pop-up alert messages UINavigationController & UINavigationBar UITableView UIImage - displaying images UIView - animating views

                                • Creating a left-arrow button (like UINavigationBar's "back" style) on a UIToolbar

                                  I'd love to create a "back" left-arrow-bezel button in a UIToolbar. As far as I can tell, the only way to get one of these is to leave UINavigationController at default settings and it uses one for the left bar item. But there's no way I can find to create one as a UIBarButtonItem, so I can't make one in a standard UIToolbar, even though they're very similar to UINavigationBars. I could manually c

                                    Creating a left-arrow button (like UINavigationBar's "back" style) on a UIToolbar
                                  • UINavigationBar « iPhoneメモ

                                    iPhone開発のメモです。initWithCustomViewとベースのVIewとしてUIButtonを使用するのがみそ。 UIButton *imageButton; imageButton = [[[UIButton alloc] initWithFrame: CGRectMake(0, 0, 30, 40)] autorelease]; imageButton.contentMode = UIViewContentModeScaleToFill; [imageButton addTarget:self action:@selector(showImage:) forControlEvents:(UIControlEventTouchDown)]; [imageButton setBackgroundImage: image forState:UIControlStateNormal

                                    • UIScrollViewとUINavigationBarがずれた時の対応 - Qiita

                                      現象 UINavigationBarがあるViewControllerにScrollViewを全画面で置いて、 UIコンポーネントを置いていきました。 しかしStoryBoadの表示位置とビルドした時のiPhoneの画面がどうしてもずれる。 その解決方法を調べました。 UIコンポーネントの階層は View(rootView) ScrollView View(コンテンツビュー) IBコンポーネント(実際に配置するコンポーネント) (20150719日追記) AutoLayoutの設定はVisual Format Languageで表すと H:|-(-16)-[ScrollView]-(-16)| ScrollViewの水平位置はrootViewの左右の端(左右は16ポイントのマージンがあるので-16を指定) V:|-[ScrollView]-| ScrollViewの垂直位置はrootVie

                                        UIScrollViewとUINavigationBarがずれた時の対応 - Qiita
                                      • カメラロールのようにバーを非表示にする | Studio Amuate

                                        カメラロールでは画面をタップすると、ステータスバー・ナビゲーションバー・ツールバーの各種バーがじわりと透明になりつつ表示・非表示が切り替わります。それっぽく見せる方法。 - (id)init { if (self = [super init]) { //self.viewはデフォルトでは透明なので、タッチイベントに反応しないため self.view.backgroundColor = [UIColor blackColor]; } return self; } - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; //ステータスバー・ナビゲーションバー・ツールバーの表示とスタイルの設定 [[UIApplication sharedApplication] setStatusBarHidden:NO

                                        • UITableViewCellで標準メールアプリのような、未読バッジを使う方法 » SHINGOLOG

                                          UITableViewCellで標準メールアプリのような、未読バッジを使う方法 2011年8月30日 in Objective-c, UITableView UITableViewでiPhone標準メールアプリのような未読のバッジを表示させる方法です。 基本的には、テーブルでバッジを表示させるメソッドは用意されていませんので、自作することになります。が、ありがたいことに、既にオープンソースで公開されている「TDBadgedCell」があったので、これを組み込んでみます。 TDBadgedCell ダウンロードしたソースのうち TDBadgedCell.h TDBadgedCell.m がバッジを表示するプログラムファイルです。 この2つを自分のプロジェクトに追加し、実装ファイル内でTDBadgedCell.hをインポート。 そして、cellForRowAtIndexPath内で st

                                          • UINavigationBarの背景を画像に – ssonLogger

                                            UINavigationBarの背景をIB使わないで変更する方法。drawRectをOverrideする。元ネタはここ @implementation UINavigationBar (CustomImage) - (void)drawRect:(CGRect)rect { UIImage *image = [UIImage imageNamed: @"background.png"]; [image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)]; } @end とてもシンプルで、前の方法だとViewをpopするとItemが消えたりしたけどそれも解決。 Tag(s) iPhone

                                            • RU AppsiPad画像サイズ一覧 メモ

                                              cool and extremely fun game maker for iPhone, iPad and Android. 2011年8月11日 This article is written by Uka. 【ポートレートモード】 画面サイズ   W768 H1024 ステータスバー W768 H20 UINavigationBar W768 H44 UITabBar W768 H48 タブバーのカスタムアイコンサイズは 日本版のヒューマンインタ−フェイスガイドラインでは【30×30ピクセル】 海外版では【48×32ピクセル以下】となっているみたいです。 SM診断で使ったカスタムアイコンのサイズは30×30ピクセルで作りました。 Keyboard W768 H264 【ランドスケープモード】 画面サイズ  W1024 H768 ステータスバー W1024 H20 UINavigati

                                              • NavigationBarとToolBarを上下に移動させつつ消したり出したり - Qiita

                                                「押したら上と下にひゅっと逃げて、押したらそこからひゅっと出てくるようにして」 「あー、直ぐ出来ます。多分」 「よろしく」 ということで - (void) showNavigationToolBar { UINavigationBar *navBar = self.navigationController.navigationBar; float animationDuration = 0.1; [self.navigationController setNavigationBarHidden:NO animated:NO]; navBar.frame = CGRectMake(navBar.frame.origin.x, -navBar.frame.size.height, navBar.frame.size.width, navBar.frame.size.height); [UIVi

                                                  NavigationBarとToolBarを上下に移動させつつ消したり出したり - Qiita
                                                • #potatotips で隅々までタップできるUINavigationBarの話をしました

                                                  potatotipsというのはクックパッドさんが開催しているiOS/Android開発者のtips共有会です。 普段は社内のメンバーで定期的に行っているそうなんですが、今回は社外の開発者も含めて開催でした。 持ち時間は1人あたり5分と短かったので、すぐに活用できそうなtipsが多かったように思います。 話したこと iOS 7になってからUINavigationBarのcustomViewが中央寄りになってしまい、 バーの両サイドに配置されたカスタムボタンが押しにくいという問題が起きました。 これだけを理由にUINavigationBarを使うのを辞めるのはもったいないので、 customViewのフレームに影響されずに隅々までタップできるUINavigationBarを実現する方法を考えました。 実装のアイディアは結構単純で、customViewのフレーム外であってもタッチイベントの位置に

                                                  • [iOS 8] ナビゲーションバーとツールバーを同時消し | DevelopersIO

                                                    hidesBarsOnTap iOS 8 から、ナビゲーションバーとツールバーを同時に消去できるメソッドが UINavigationController に追加されました。 hidesBarsOnSwipe hidesBarsOnTap hidesBarsWhenKeyboardAppears hidesBarsWhenVerticallyCompact 今回は hidesBarsOnTap について説明します。 hidesBarsOnTap は値が true の場合、navigationController の view がタップされるたびに、ナビゲーションバーとツールバーの表示/非表示を切り替えます。 複雑な実装をすることなく、iPhone 標準の「写真」アプリのような表示切り替えが可能となります。 サンプルコード override func viewDidLoad() { super

                                                      [iOS 8] ナビゲーションバーとツールバーを同時消し | DevelopersIO
                                                    • How to Edit Empty Spaces of Left, Right UIBarButtonItem in UINavigationBar [iOS 7]

                                                      Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Create a free Team

                                                        How to Edit Empty Spaces of Left, Right UIBarButtonItem in UINavigationBar [iOS 7]
                                                      • "Pull-to-refresh": an Anti UI Pattern on Android - Cyril Mottier

                                                        “It’s the little details that are vital. Little things make big things happen.” – John Wooden Twitter G+ RSS Note: This article has been written prior to the recent article on Techcrunch which states “pull-to-refresh” has been patented by Twitter. I agree with most of this article when it comes to iOS. My only disagreement is I don’t think this patent is the reason why Apple didn’t use it in their

                                                        • [Swift] ナビゲーションバーのデザインを変更する - YoheiM .NET

                                                          こんにちは、久しぶりに古いiPhoneアプリをSwiftで改修中の@yoheiMuneです。 今日はiOSアプリでデザイン変更を最も行う箇所の1つである、UINavigationBar周りのデザイン変更方法をブログに残したいと思います。 目次 今回変更するデザイン(3点) この記事では、以下3点の色を変更する方法を記載しています。 アプリケーション全体でナビゲーションのデザインを変更する アプリケーション全体でデザインを変更する場合には、以下のように行います。 // AppDelegate.swiftなどで、アプリ起動時に処理を行う // 色 let greenColor = UIColor(red: 24.0/255.0, green: 225.0/255.0, blue: 144.0/255.0, alpha:1) let whiteColor = UIColor(red: 236.0

                                                            [Swift] ナビゲーションバーのデザインを変更する - YoheiM .NET
                                                          • iPhone・iPad用アプリ「Showrtpathブラウザ」の開発で参考にした記事の全て - showrtpath - iPhone,iPadウェブブラウザアプリ開発ブログ

                                                            2013-12-30 iPhone・iPad用アプリ「Showrtpathブラウザ」の開発で参考にした記事の全て iOS開発 Showrtpathブラウザの紹介 iOS開発の記事のまとめ こんにちはnasustです。明日で2013年の最後ですね。 今回は、iPhone/iPad用アプリ「Showrtphatブラウザ」の開発時に調べたウェブ上の資料を公開したいと思います。 ブラウザを開発する場合、参考になるかと思います。 ソースコード資料 開発のコーディングで困ったときに発見した資料を紹介します。 How to Edit Empty Spaces of Left, Right UIBarButtonItem in UINavigationBar in iOS 7 http://stackoverflow.com/questions/18914812/how-to-edit-empty-spa

                                                              iPhone・iPad用アプリ「Showrtpathブラウザ」の開発で参考にした記事の全て - showrtpath - iPhone,iPadウェブブラウザアプリ開発ブログ
                                                            • SwiftUIをクラシルに導入した話 - dely Tech Blog

                                                              SwiftUIをクラシルに導入した話 こんにちは。これはdely アドベントカレンダー10日目の記事となります。 今年も残りあと少しとなりました。クラシル開発部でiOSエンジニアをしている@yochidrosです。 前回はharry(@gappy50)さんのクラシルでのSnowflakeデータパイプラインのお話&活用Tips でした。 日頃redashを利用して分析をしている中でより便利になっていっているなと感じました!tipsも今後使っていこうと思います! 今日はSwiftUIをクラシルに導入した話を書いていきたいと思います。 背景 2019年に発表されたSwiftUIですが、iOSのバージョンが13.0以降でないと利用できない等制約があったためなかなかクラシルも導入できずにいました。 しかし、今年のクラシル自体のiOSのサポートバージョンを13.2に引き上げたことによってSwiftUI

                                                                SwiftUIをクラシルに導入した話 - dely Tech Blog
                                                              • iOS 5 : Custom UIAppearance Tutorial - Scott Sherwood

                                                                Having battled against the iOS API to theme my applications I was extremely pleased when iOS 5 introduced UIAppearance, allowing individual user interface elements or entire classes of elements to be themed in a particular way. Recently one of our apps required support for iOS 4.3 so I had to go back to my previous (more painful) method. I thought it might be useful to document both these methods

                                                                • 欧宝体育官方网站APP·欢迎进入

                                                                  欧宝体育官方网站APP·欢迎进入 XML 地图 | Sitemap 地图

                                                                  • 【超簡単】【たった一行】UINavigationBarをスワイプで表示/非表示させる方法 - Qiita

                                                                    この記事について UINavigationBarを消す方法を調べていたところ、scrollViewにdelegateを設定する方法や、ライブラリを使う方法などがありましたが、新しい方法を見つけましたので共有します。 iOS8からUINavigationControllerに便利なプロパティが追加されたようです。 /// When the user taps, the navigation controller's navigationBar & toolbar will be hidden or shown, depending on the hidden state of the navigationBar. The toolbar will only be shown if it has items to display. @available(iOS 8.0, *) public v

                                                                      【超簡単】【たった一行】UINavigationBarをスワイプで表示/非表示させる方法 - Qiita
                                                                    • ナビゲーションバーのタイトルを画像にする方法 - 廣川政樹の開発ブログ - Dolice Lab

                                                                      ナビゲーションバーのタイトルと背景を画像にするサンプルを以下に作成しました。 サンプルでは、まず UINavigationItemを定義し、その titleViewプロパティに UIImageViewを入れる事でナビゲーションバーのタイトルを画像にしています。 背景画像は、UINavigationBarの setBackgroundImageメソッドを使用することで任意の画像を指定できます。 下記よりサンプルのダウンロードが行えます。 ダウンロード https://github.com/masakihirokawa/objc-ui-navigationbar-title-image サンプルソースコード //ナビゲーションバー初期化 - (void)initNavigationBar { //ナビゲーションバーの設定 [self.navigationController setNaviga

                                                                        ナビゲーションバーのタイトルを画像にする方法 - 廣川政樹の開発ブログ - Dolice Lab
                                                                      • Not-Found

                                                                        More than just porting your infrastructure to the cloud, CapTech brings architects and developers, business solutions analysts, and change management teams ready to partner with you to: develop and implement a cloud strategy apply cloud services help your business realize the full value of the cloud Recommending only those solutions and service providers that best meet your needs, our cross-functi

                                                                        • iOS7でNavigationBarに入れたSearchBarにキャンセルボタンを出現させる方法 - Qiita

                                                                          Xcode4でiOS6用に作成していたプロジェクトを Xcode5でiOS7用にしていた際に発生した問題があったのでメモ代わりに。 ※追記 iOS7.1では修正されているようで、本記事のようなバッドノウハウは必要ないとのコメントを頂きました。 CancelButtonが表示されない iOS6では、UINavigationBarにUISearchBarを入れた場合、 showsCancelButtonにYESを入れてやるだけでちゃんとキャンセルボタンが表示される。 しかし、どうもiOS7ではそうゆう訳にはいかないようで少し工夫する必要があった。 具体的にはUISearchBarを適当なUIViewに入れてやり、それをUINavigationBarに挿入することで解決。 UISearchBar *searchBar = [[UISearchBar alloc] initWithFrame:CG

                                                                            iOS7でNavigationBarに入れたSearchBarにキャンセルボタンを出現させる方法 - Qiita
                                                                          • Fousa ~ Empty back button in iOS 7

                                                                            The new UINavigationBar style changed a bit in iOS 7. A simple arrow is now displayed by default followed by the title of the previous UIViewController on the navigation stack. Now I wonder if I could just remove the text and only keep the arrow. Just because it's not always useful to show the text. Most of the time you know where you're coming from, and you can just use all the space available on

                                                                            • [LinkedIn] iOS7アップデート作業で気づいたこと - ワザノバ | wazanova.jp

                                                                              http://engineering.linkedin.com/mobile/updating-ios-7-its-not-over-til-flat-lady-sings LinkedInがエンジニアブログで、9/23にリリースしたiOS7対応のアップデート作業を紹介しています。 1) デザイン修正箇所 ステータスバー ナビゲーションバー: アイコン、ラベル 検索バー 丸いcornerをとる shadow/gradientをとる ボタンをフラット化 ぼかしを利用する 2) 体制 1 Product Manager, 1 Designer, 2 Engineers, 1 Web Developer, 1 intern, 1 QA Engineer 3) Navigation Bar padding issues UINavigationItem.leftBarButtonItem は左側、

                                                                              • Cocoaの日々: 10月 2011

                                                                                UIAppearanceプロトコル iOS5 から UIAppearance プロトコルが導入された。このプロトコルを使うと UINavigationBar や UISwitch のインスタンスの色を変更することができる。変更の仕方はこんな感じ。 [[UISwitch appearance] setOnTintColor:[UIColor greenColor]];UIAppearance が有用なのは、上記の通りインスタンスではなくクラスに対して色設定ができること。つまりこれを使うと画面上で使われているすべての UISwitch の色を変えることができる。 例えば緑基調の画面があったとして、UIAppearance プロトコルを使うと別の色(例では赤)に変更することができる。 上記の例は1画面だけだが、アプリで使われるすべての画面で色が変わる。 上記例の色変更の箇所のコードはこんな感じ。

                                                                                  Cocoaの日々: 10月 2011
                                                                                • UIViewControllerに独自でUINavigationBarを実装する場合 | きぶんはおっさん

                                                                                  あまりWebに転がってなかったので記載。 // ナビゲーションバーを生成 UINavigationBar* objectNaviBar = [[UINavigationBar alloc] initWithFrame:CGRectMake(xPoint, yPoint, xRange, yRange)]; navBarTop.alpha = alpha; ※ xPoint - 起点X座標、yPoint - 起点Y座標、xRange - ナビゲーション幅、yRange - ナビゲーション高さ、alpha -ナビゲーションのα値 // ナビゲーションアイテムを生成 UINavigationItem* naviItem = [[UINavigationItem alloc] initWithTitle:@"タイトル"]; // 戻るボタンを生成 UIBarButtonItem* backButt