mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-27 21:25:51 +03:00
[GH-ISSUE #598] A delay of 1 second on main thread while presenting SafariURLHandler #390
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#390
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @omiz on GitHub (May 20, 2020).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/598
Description:
I'm trying to use the provided safari controller in
SafariURLHandlermy implementation is fairly simplebut when presenting the controller there is a delay of 1 second. This delay is on the main thread and blocking the UI
I'm talking about the file SafariURLHandler.swift at line 69
is there any information on this or what is causing it black view because I would like to remove the delay by setting it to
nilbecause I'm sure that blocking the main thread is never the solutionOAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
@phimage commented on GitHub (May 24, 2020):
I have no clue. Never tested it, so If you have no issue with nil, why not , maybe an old iOS issue
And yes I am agree about sleep in main thread is not the solution, maybe schedule later the action is better with and async after delay