Open digitaldavenyc opened 8 years ago
Doing the following fixed the issue for me:
Find [delegate.window.rootViewController presentViewController: controller animated:YES completion:nil];
in SpotifyAuth.m and replace it with:
dispatch_async(dispatch_get_main_queue(), ^{ //Present the webView over the rootView [delegate.window.rootViewController presentViewController: controller animated:YES completion:nil]; });
This is error very sporadic, it happens about 20% of the time but it is pretty serious since it causes the app to crash. I have tried wrapping
SpotifyAuth.login
in a try catch but this error seems to be lower level on the Objective-C side.