Building Spotify App in Swift 5 & UIKit - Part 5 (Xcode 12, 2021, Swift 5) - Build App
if AuthManager.shared.isSignedIn {
AuthManager.shared.refreshIfNeeded(completionHandler: nil)
...
}
nil
public func refreshIfNeeded(completionHandler: ((Bool) -> ())?)