| | |
| | | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. |
| | | } |
| | | |
| | | func application(_ application: UIApplication, handleOpen url: URL) -> Bool { |
| | | return WXApi.handleOpen(url, delegate: self) |
| | | } |
| | | |
| | | func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool { |
| | | return WXApi.handleOpen(url, delegate: self) |
| | | } |
| | | // func application(_ application: UIApplication, handleOpen url: URL) -> Bool { |
| | | // return WXApi.handleOpen(url, delegate: self) |
| | | // } |
| | | // |
| | | // func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool { |
| | | // return WXApi.handleOpen(url, delegate: self) |
| | | // } |
| | | } |
| | | |
| | | extension AppDelegate:WXApiDelegate{ |
| | | func onReq(_ req: BaseReq) { |
| | | |
| | | } |
| | | |
| | | func onResp(_ resp: BaseResp) { |
| | | |
| | | } |
| | | } |
| | | //extension AppDelegate:WXApiDelegate{ |
| | | // func onReq(_ req: BaseReq) { |
| | | // |
| | | // } |
| | | // |
| | | // func onResp(_ resp: BaseResp) { |
| | | // |
| | | // } |
| | | //} |
| | | |