iOS adding multiple URL Schemes Swift -


i'm building ios application swift. when it's redirecting oauth. stuck on below attached image. web page after twitter authentication , it's not redirecting application

        twitterclient.sharedinstance.requestserializer.removeaccesstoken()     twitterclient.sharedinstance.fetchrequesttokenwithpath("oauth/request_token", method: "post", callbackurl: nsurl(string: "http://my.vixxxxxxxp.com:2403/auth/twitter, twitterclient://oauth-callback"), scope: nil, success: { (requesttoken: bdboauth1credential!) -> void in          print("got token request", requesttoken.token)          let authurl = nsurl(string: "https://api.twitter.com/oauth/authorize?oauth_token=\(requesttoken.token)")         uiapplication.sharedapplication().openurl(authurl!)          }) { (error: nserror!) -> void in             print("failed  token request")             print(error)     } 

and how have added url schemes in info.plist 'twitterclient://oauth-callback'

it's not right. want know right way of adding it.


Comments