My first view controller is quite small and has two rows in a table view. Later views in the navigation stack are much taller.
I don't want make the first one so big, I'd rather resize the popover as required.
I've tried setting preferredContentSize in viewWill appear and just before viewcontroller is added to the navigation stack. However it doesn't resize, until the next view controller is added to the navigation controller, I'm not sure why.
Can you tell me how to acheive this, or tell me it's not possible and that I'd have to set the popover at the larger size at the start?
Seeing as it does increase in height I expect it is possible, I'm just not sure where / how.
My first view controller is quite small and has two rows in a table view. Later views in the navigation stack are much taller.
I don't want make the first one so big, I'd rather resize the popover as required.
I've tried setting preferredContentSize in viewWill appear and just before viewcontroller is added to the navigation stack. However it doesn't resize, until the next view controller is added to the navigation controller, I'm not sure why.
Can you tell me how to acheive this, or tell me it's not possible and that I'd have to set the popover at the larger size at the start?
Seeing as it does increase in height I expect it is possible, I'm just not sure where / how.
Thanks in advance.
Great job keeping this controller going :)