dgelessus
Feb 19, 2015 - 16:26
Whenever I present a ui.NavigationView as sidebar or panel and try to quit it using the built-in X, the app crashes. I've tried implementing a custom quit button using View.close(), but that doesn't seem to do anything. View.close() works just fine with other presentation modes like sheet or popover.
A workaround to this is to create a View, set the NavigationView as its subview and then present the regular View. Although it fixes the crash when quitting, it causes a few layout problems due to the NavigationView not being the presented view.
@omz, if necessary I can provide crash reports, if that would be any help.