Save tabbar state

Discussion in 'iOS Development' started by Duykur, Mar 17, 2009.

  1. Duykur

    Duykur Banned

    Joined:
    Mar 24, 2008
    Messages:
    1,674
    Likes Received:
    0
    Hello,

    I am beginning iPhone Development and currently have the iPhone 2.2 Software Development Kit and need some advice.

    I have created a new Tab Bar Application using XCode, but when I re-order the icon arrangement, it does not save the state from one launch to the next.

    Is there any way I can resolve this?

    Regards,
    Duykur
  2. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    Either save the array into settings (not recommended), or set tags on the view controllers, and set that as an array in settings. Arrange the tabs prior to loading.
  3. Duykur

    Duykur Banned

    Joined:
    Mar 24, 2008
    Messages:
    1,674
    Likes Received:
    0
    Sorry, I'm new to Objective C Developing, How might you go about doing this?

Share This Page