UITabBarSelectionIndicatorView Works On Simulator - Not Device

Discussion in 'iOS Development' started by Steaps, Nov 18, 2009.

  1. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    Using the class "UITabBarSelectionIndicatorView" works on the iPhone Simulator, but will not work on the device, does anyone know of another way to change the overlay of a UITabBarItem?
  2. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    A class-dump of UIKit reveals ivars (of class UITabBarItem) such as _image, _selectedImage, and unselectedImage, type UIImage. Check it out.
  3. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    I've used those, and they works. But it'd be alot nicer if I could just change the overlay (The blue part, when a tab is selected).

Share This Page