Ok, after messing with that code for my previous comment (trying to get it under the(ridiculous 500 character limit) -- I found that adding a .navigationTitle to the main view stops the crashing. Is it required to have a navigation title set if using a toolbar?
Meta side note: Why is code formatting on the official Apple Dev forum so poor? Isn't it about time to add better handing of multi-line code snippets?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: