GLPaint is a really old sample, and appears to have not been updated to use a
UIViewController subclass to manage its view, and as such will elicit this
warning because the window's rootViewController property will not have been
set. I would recommend you look at a more recent sample, or even at
On Mar 28, 2012, at 6:22 AM, David Delmonte wrote:
> Hi, I'm trying to do the above. I've added a simple UIButton at the
> AppDelegate level (as there is no ViewController).
>
> When the button is tapped:
>
> - (IBAction)pictureButtonTapped:(id)sender {
> NSLog(@"%s", __FUNCTION__);
>
Hi, I'm trying to do the above. I've added a simple UIButton at the AppDelegate
level (as there is no ViewController).
When the button is tapped:
- (IBAction)pictureButtonTapped:(id)sender {
NSLog(@"%s", __FUNCTION__);
drawingView.backgroundColor = [UIColor colorWithPatternImage: