ios - dropbox linkFromController detect cancel -


i upgraded dropbox framework in app , have use linkfromcontroller.

there way detect if user tap on cancel button or if dropbox auth popup visible or not?

thanks, max

you can use following delegate filter loading url. find url load in cancel button , use complete task.

  - (bool)webview:(uiwebview*)webview shouldstartloadwithrequest:(nsurlrequest*)request navigationtype:(uiwebviewnavigationtype)navigationtype {          nsstring *url = [[request url] absolutestring];            if([url isequaltostring:@"cancel url"]){              //do want             return no;         }     } 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

python - cx_oracle unable to find Oracle Client -