Remove top bar

Discussion in 'Jiggy Runtime Development' started by psychofish25, May 1, 2008.

  1. psychofish25

    psychofish25 New Member

    Joined:
    Nov 20, 2007
    Messages:
    259
    Likes Received:
    3
    How can I remove the top bar that says iPod and click and battery? I made a strobe light app and I want the entire screen empty.

    Thanks,
    Jordan
  2. iamcanadian

    iamcanadian New Member

    Joined:
    Nov 29, 2007
    Messages:
    335
    Likes Received:
    15
    Code:
    var window = new UIWindow( [0, 0, 320, 480] );
    window.setHidden( false );
    window.orderFront();
    window.makeKey();
    window.level = 1001;
    window.position = [0,0];
    window.backgroundColor = [ 0 , 0 , 0 ,0 ]
    
    var mainView = new UIView( window.bounds );
    
    window.setContentView( mainView );
    
    That should do it
    1 person likes this.

Share This Page