Hi Guys,
I have a problem with one of my views, it has some squares drawn on it and you can only see it if you are switching a view say to go to settings so its right at the back.
i can change it in the appdelegate from this where it shows in the background:
To this but it then covers up the controls on the bottom of the screen:
I have a problem with one of my views, it has some squares drawn on it and you can only see it if you are switching a view say to go to settings so its right at the back.
i can change it in the appdelegate from this where it shows in the background:
Code:
MainView *view = [[MainView alloc] initWithFrame:[window frame]];
[window addSubview:view];
[view release];
mainViewController.view.frame = [UIScreen mainScreen].applicationFrame;
[window addSubview:[mainViewController view]];
To this but it then covers up the controls on the bottom of the screen:
Code:
mainViewController.view.frame = [UIScreen mainScreen].applicationFrame;
[window addSubview:[mainViewController view]];
MainView *view = [[MainView alloc] initWithFrame:[window frame]];
[window addSubview:view];
[view release];
[window makeKeyAndVisible];