*** Assertion failure in UITraitCollection *UIViewControllerMissingInitialTraitCollection(UIViewController *__strong, UIApplicationSystemVersion)(), UIViewController.m:2743
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIViewController is missing its initial trait collection populated during initialization. This is a serious bug, likely caused by accessing properties or methods on the view controller before calling a UIViewController initializer. View controller: <TeacherSelectRecipientsController: 0x104887400>' *** First throw call stack: ( 0 CoreFoundation 0x00007ff80049aa09 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff800063904 objc_exception_throw + 48 2 Foundation 0x00007ff800daab27 -[NSMutableDictionary(NSMutableDictionary) classForCoder] + 0 3 UIKitCore 0x00007ff8051d8a3f UIViewControllerMissingInitialTraitCollection + 215 4 UIKitCore 0x00007ff8051e046d -[UIViewController loadViewIfRequired] + 299 5 UIKitCore 0x00007ff8051e0c65 -[UIViewController view] + 27 6 UIKitCore 0x00007ff8051ca163 -[UITableViewController tableView] + 23 7 Admin 0x0000000100e1b157 -[TeacherSelectRecipientsController createNodesWithModel:] + 4663 8 Admin 0x0000000100e180f2 __54-[TeacherSelectRecipientsController loadDataFromJSON:]_block_invoke + 226 9 libdispatch.dylib 0x0000000101929747 _dispatch_call_block_and_release + 12 10 libdispatch.dylib 0x000000010192a9f7 _dispatch_client_callout + 8 11 libdispatch.dylib 0x000000010192d4eb _dispatch_queue_override_invoke + 1487 12 libdispatch.dylib 0x000000010193e7f1 _dispatch_root_queue_drain + 369 13 libdispatch.dylib 0x000000010193f3b5 _dispatch_worker_thread2 + 277 14 libsystem_pthread.dylib 0x0000000101299c0f _pthread_wqthread + 257 15 libsystem_pthread.dylib 0x0000000101298bbf start_wqthread + 15 ) libc++abi: terminating due to uncaught exception of type NSException