Caleb_Bredlow
unread,May 1, 2012, 2:25:20 PM5/1/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to myLauncher
Hello, I have a small question about using the myLauncher within
another window. Right now, my application implements myLauncher, but
has the navigation bar disabled by the appdelegate (it isn't used by
any other windows). I would like to add in a toolbar, and a search
bar. I did this by creating a xib file, and I added in a smaller view
that I want the launcher view to use. I've tried editing my root
controller file to force it into the smaller window, but all I get is
black.
Here is my root controller method that has the window in it:
-(void)loadView {
[super loadView];
self.launch = [self.launch initWithFrame:CGRectMake(0, 44,
self.view.bounds.size.width,self.view.bounds.size.height-44)];
[self setLauncherView:[[MyLauncherView alloc]
initWithFrame:self.launch.bounds]];
[self.launcherView setBackgroundColor:[UIColor
scrollViewTexturedBackgroundColor]];
[self.launcherView setDelegate:self];
//rest of code omitted,
}