Skip to content

Chris' Laboratory

chrislee.kr – Personal blog as bookshelves

Menu
  • Home
  • Github
  • Contact Me
Menu

Inserting iPhone Tab Bar Icons Using XCode

Posted on 03/01/201009/04/2011 by Chris Lee
Read Time:1 Minute, 27 Second

Firstly you will need to add the icons to your project. Right click the resources folder under the main project icons and select Add > Existing Files…

(This is article from http://www.glyfx.com/guide_iphone.html)


Select Resources

Add Icons To Project

In Xcode find the folder labeled “NIB Files” and expand it to see it’s contents. Double click on the .xib file that contains the tab bar you want to add the icons to.

NIB Files

This will launch interface builder and you should now see a the visual layout window of the NIB file.

Visual Layout Window

If the inspector isn’t already visiable, open it by going to the tools menu and selecting “inspector”.

Select the tab item that you want to add an icon to in the tab bar. If you need to add extra tab bar items you can do so by dragging them in from the library. You may need to click a couple of times to drill down to the selection you need. You’ll know you’ve got it when you see that only the icon and text is selected rather than the entire tab item.

Tab Item Selection

In the inspector pallette make sure that the attributes inspector is showing. in the bar item section, select the icon you want displayed for this tab bar item in the menu next to “Image”.

Attributes Inspector

You can also add icons by dragging them from a finder window onto the tab item.

If you want to see the icons in action you will need to go back to xcode and click the Build and Go button on the main toolbar. If you select “simulate Interface” from the file menu in Interface Builder the icons won’t always show up in the application.

 

Original Article: http://www.glyfx.com/guide_iphone.html

Share

Facebook
Twitter
LinkedIn
Email

Related

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

  • Databases (11)
    • MongoDB (4)
    • MS-SQL (1)
    • MySQL (6)
  • E-Commerce (8)
    • Magento (8)
  • Finance (2)
  • Frameworks (84)
    • Adobe Flex (1)
    • Angular (ngx) (3)
    • Codeigniter (6)
    • CSS (5)
    • Django (2)
    • Javascript (13)
    • Node.js (6)
    • PHP (17)
    • React Native (4)
    • React.js (1)
    • Sencha Touch (4)
    • Terraform (1)
    • Vue.js (1)
    • WordPress (4)
    • Yii2 (3)
  • General Documents (15)
  • Marketing (3)
  • Mobile Development (33)
    • Android (20)
    • iPhone (13)
  • Platforms (21)
    • Arduino (2)
    • Docker (5)
    • Google App Engine (5)
    • Raspberry Pi (5)
    • Samsung Smart TV (4)
  • Security (17)
  • Server (31)
    • Linux (13)
  • Tools (14)
    • SVN (7)
  • Uncategorized (3)

Search

Recent Posts

  • helm list error stream ID 3; INTERNAL_ERROR
  • Bootstrapping Kubernetes cluster with kubeadm
  • Taint all resources in the one module
  • Alpine – Plugin caching_sha2_password could not be loaded
  • npm link with peerDependencies

Recent Comments

  • Obayed on Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins
  • Ari on How to install memcache.so/memcached.so for MAMP Pro (Mac)
  • Mida ali on Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins
  • Chris Lee on How to install memcache.so/memcached.so for MAMP Pro (Mac)
  • Chris Lee on Setting Up A VPN Server On OSX 10.6

Tags

1 ajax amazon android android-addpart browser chrislee-kr codeigniter codeigniter-tcpdf com-apple-net-racoon CSS CSS history hack delpaigmail-com entity-addpart-double exception-printing-is-disabled-by-default-for-security-reasons ext-plugins-listpagingplugin ext-plugins-listpagingplugin-example f iphone javascript jquery-defaultchecked jquery-samsung-smart-tv listpagingplugin mac magento-exception-printing-is-disabled-by-default-for-security-reasons magento-sample-data-exception-printing-is-disabled-by-default-for-security-reasons nu-vot null-core-errors-confignotfound-config-mk9engine-ini php samsung-smart-tv-jquery samsung-smart-tv-sdk-ajax samsung-smart-tv-sdk-jquery samsung-tv-sdk samsung-tv-sdk-jquery samsung tv sencha-smart-tv sencha-touch-list-paging smart-tv-jquery sqlite subversion svn tcedook tcpdf-codeigniter uilinebreakmodecharacterwrap-is-deprecated unknown-column-link-area

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2023 Chris' Laboratory | Powered by Minimalist Blog WordPress Theme