Private API?

Discussion in 'iPhone/iPad Programming' started by iLoveDeveloping, Aug 12, 2010.

  1. macrumors regular

    #1
    Hi,

    I wanted to change the image of my TabBar and wondering if this code is a private API, i guessed it was seen as the private was in it, but am i wrong?

    @interface UITabBarController (private)
    - (UITabBar *)tabBar;


    If so, is there anything that can change the background image of the TabBar without breaking any API's?
     
  2. Moderator

    robbieduncan

    Staff Member

    #2
    If the method is not listed in the documentation on Apple's developer website then it's a private API.
     
  3. macrumors 6502

    #3
    To expand on robbieduncan's comment, the publicly published API documents are the way to tell what is public and what isn't.

    Luckily for you, the tabBar property of a UITabBarController is public API, see: here.
     

Share This Page