n00b question: Have two windows in one App

Discussion in 'iOS Development' started by startrees, Jul 24, 2010.

  1. startrees

    startrees Member

    Joined:
    Nov 29, 2008
    Messages:
    223
    Likes Received:
    0
    Device:
    iPad 2 (White)
    So how could I have two windows in one app? I really need a window for instructions so people know how to play my game. So far I have it so it just hides things but for the instructions I want a new window because I have pictures and stuff.. THANK YOU SO MUCH!
  2. Tkf1

    Tkf1 Community Development Staff Member

    Joined:
    Oct 12, 2009
    Messages:
    17,397
    Likes Received:
    2,488
    Device:
    iPad mini
    You want to split the iPod screen for two apps? Not possible.
  3. startrees

    startrees Member

    Joined:
    Nov 29, 2008
    Messages:
    223
    Likes Received:
    0
    Device:
    iPad 2 (White)
    No i want there to be another window that flies in
  4. Lux2GS

    Lux2GS Well-Known Member

    Joined:
    Jul 1, 2010
    Messages:
    3,678
    Likes Received:
    138
    Device:
    iPhone 4S (Black)
    Sure, you can use a Popup.
  5. startrees

    startrees Member

    Joined:
    Nov 29, 2008
    Messages:
    223
    Likes Received:
    0
    Device:
    iPad 2 (White)
    How do you use that?
  6. Lux2GS

    Lux2GS Well-Known Member

    Joined:
    Jul 1, 2010
    Messages:
    3,678
    Likes Received:
    138
    Device:
    iPhone 4S (Black)
  7. frisbeefanatic

    frisbeefanatic New Member

    Joined:
    Jul 12, 2010
    Messages:
    131
    Likes Received:
    0
    Device:
    4G iPod touch
    hahahahahahahahaha!
  8. MountainDew

    MountainDew New Member

    Joined:
    Feb 23, 2008
    Messages:
    194
    Likes Received:
    1
    Device:
    iPod touch
    Just use a UINavigationController with a rootViewController and an instructionsViewController.
  9. maxk96

    maxk96 New Member

    Joined:
    Jul 8, 2009
    Messages:
    37
    Likes Received:
    0
    Device:
    2G iPod touch
    why dont you just use a UIAlert or a InfoButton to take you to the next page?
  10. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    This falls under the category of view handling, hierarchy and management. Apple has provided you with a brilliant system of views and controllers that you can use to present different views in various ways to the user. I suggest reading the documentation on the iPhone developer website.

    Also, there is one window per application; creating and showing another would not so much be "wrong," in a sense, but improper, and doesn't quite conform to the protocol of basic setup in a UIKit-based application.

Share This Page