I'm using a custom view that I instantiate from a nib. I pass the custom view into the popover, but the custom view doesn't center inside of the popover, instead it's anchored into the top left corner of the popover's container view. I can't seem to get my custom view to center inside the popover view. I've tried setting the center in the willShow and didShow handlers.
Is there any way to center my custom view before the popover is shown?
I'm using a custom view that I instantiate from a nib. I pass the custom view into the popover, but the custom view doesn't center inside of the popover, instead it's anchored into the top left corner of the popover's container view. I can't seem to get my custom view to center inside the popover view. I've tried setting the center in the willShow and didShow handlers.
Is there any way to center my custom view before the popover is shown?