> On Dec 17, 2016, at 18:19, David Duncan wrote:
>
> MyViewController *vc = [[MyViewController alloc] init];
What if you store that in a property of an object that persists as long as the
window does? I'm guessing it's being deallocated before you think because of
> On Dec 17, 2016, at 8:07 AM, Andreas Falkenhahn
> wrote:
>
> I'm not using ARC so I need to take care of releasing objects manually.
> I'm creating and presenting a modal UIViewController like this:
>
>MyViewController *vc = [[MyViewController alloc] init];
>
>
I'm not using ARC so I need to take care of releasing objects manually.
I'm creating and presenting a modal UIViewController like this:
MyViewController *vc = [[MyViewController alloc] init];
vc.modalPresentationStyle = UIModalPresentationFormSheet;
vc.preferredContentSize =