What is happening when I dismiss a pre-baked Apple popover that causes my main window to shift to the top of the device?
When the program first runs, I do a centreWithSize() call on the main window of my program (actually a Juce Standalonefilterwindow called into the Main.cpp file). If I run the provided apple code to get the Bluetooth midi popup, when I dismiss it, my gui moves to the top of the screen, no longer centered. I can see the gui glitch out slightly when the pop up is appearing.
Any idea why this happens, or a way around it?
Thank yall for any advice.
Related apple programming guide: https://developer.apple.com/library/ios/qa/qa1831/_index.html
The code that triggers the misbehavior:
[self dismissViewControllerAnimated:YES completion:nil];