- (void)loadView { CGRect viewFrame; viewFrame = CGRectMake(0, 0, MASTER_WIDTH, MASTER_HEIGHT); self.view = [[[UIView alloc] initWithFrame:viewFrame] autorelease]; }(Note: MASTER_WIDTH and MASTER_HEIGHT are simply constants defining the width and height of the screen.)
Once your view is created, you are free to implement, as usual, viewDidLoad, viewWillAppear, viewDidAppear, etc.
No comments:
Post a Comment