UIPopoverController contents blurry

I present the UIPopoverController in my application, but the presentation of the content is a bit blurry.

To demonstrate, I placed the second instance of the content view controller directly on self.view, and compared to it it is easy to see that the text in the popover is fuzzy. This problem occurs both on the device and in the simulator.

Screenshot:

enter image description here

The code:

// ...    

// init the edit view controller
editSOViewController = [[EditViewController alloc] 
initForNewObjectWithDict:dict];

// init popover with editSOViewController
UIPopoverController *popover = [[UIPopoverController alloc] 
initWithContentViewController:editSOViewController];

// set size
navPopover.popoverContentSize = 
CGSizeMake(editSOViewController.view.frame.size.width, 
[editSOViewController heightForViewControllerInPopoverView]);  

// this is blurry
[popover presentPopoverFromRect:image.frame
                            inView:self.view
          permittedArrowDirections:UIPopoverArrowDirectionAny
                          animated:YES];

// this is clear
editViewController *test =
 [[EditViewController alloc] initForNewObjectWithDict:dict];
[self.view addSubview:test.view];

Any ideas why this could be the reason? I thought UIPopover might slightly reduce the view, but I aligned the two examples with an image editor, and there is no difference in size (but a great “fuzz” in the popover view).

I still have the same problem if I use WEPopover ( https://github.com/werner77/WEPopover/ ).

Thank.

+5
1

, .

, , , round floor.

+9

All Articles