Xcode: UIPopover only
===

I'm using a popover that should simply show a UIView inside. But although the popup shows up, it contains only an empty view (that is colored in some kind of dark blue).
The UIViewController is use is the "PreferencesController" in there.

My Code to open the popup is the following:

    - (IBAction)showPopup:(id)sender {
    
    if (_preferencesController == nil) {
        self.preferencesController = [[PreferencesController alloc]init];
        self.preferencesControllerPopover = [[UIPopoverController alloc] 
                                    initWithContentViewController:_preferencesController];
    }
    [self.preferencesControllerPopover presentPopoverFromBarButtonItem:sender 
                                    permittedArrowDirections:0 animated:YES];
}

Besides that I only have the "preferencesController" that doesn't include any special methods besides the viewDidLoad with "self.contentSizeForViewInPopover = CGSizeMake(800.0, 800.0);"

Any ideas why it isn't working properly?

Thanks in advance