Ambiguous reference to member Swift 3
问题 I am migrating my project from Swift 2.3 to Swift 3. And having difficulty as expected. Here is a function which is being used for OAuth, using OAuthSwift. I have tried to convert class func OAuthSwiftAuthorization(inViewController viewController: UIViewController, withOAuthInfo info:FitnessTracker, successHandler:@escaping MyOAuthNewSuccessHandler, failure: @escaping ((_ error: NSError) -> Void)) { let oauthswift = OAuth2Swift( consumerKey: info.consumerKey, consumerSecret: info