Problem with UIDatePicker

Discussion in 'iOS Programming' started by dubiux, Sep 8, 2009.

  1. dubiux macrumors newbie

    Joined:
    Sep 8, 2009
    #1
    Hi,

    I'm having problems with the UIDatePicker view as it seems to bleed into the background. I've attached two screenshots:

    1. The first is the view I created from Interface Builder. All I did was add the picker object to the view.

    2. The second is what I see in the iPhone Simulator. I navigate to this date picker and see this crap.

    Any ideas of why it's doing that?

    Thanks!
     

    Attached Files:

  2. KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #2
    What is your process of loading the nib, it looks like you are using a navigation controller or a flip side utility view.
     
  3. dubiux thread starter macrumors newbie

    Joined:
    Sep 8, 2009
    #3
    I use a navigation controller, init the datepicker controller with nib name, and push it onto the stack.
     
  4. KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #4
    Did you try selecting draw opaque, and clear subview before drawing?
     
  5. dubiux thread starter macrumors newbie

    Joined:
    Sep 8, 2009
    #5
    Yep, those two options are selected. I guess I'm going to have to the date picker portion over again. Thanks for your suggestions.
     

Share This Page