Been encountering this error a lot in my OS X using swift:
\"This application is modifying the autolayout engine from a background thread, which can
For me the issue was the following. Make sure performSegueWithIdentifier: is performed on the main thread:
performSegueWithIdentifier:
dispatch_async (dispatch_get_main_queue(), ^{ [self performSegueWithIdentifier:@"ViewController" sender:nil]; });