v2ex icon indicating copy to clipboard operation
v2ex copied to clipboard

这么好的东西,不继续维护了吗?

Open hzzhitian opened this issue 7 years ago • 5 comments

这么好的东西,不继续维护了吗?

hzzhitian avatar Jul 09 '18 05:07 hzzhitian

偷懒自己本地更新了适配 iPhone X 的版本, 不过由于登录变化比较大,还没来得及适配一直拖着。。 晚点抽时间更新一下 On Mon, Jul 9, 2018 at 13:54 hzzhitian [email protected] wrote:

这么好的东西,不继续维护了吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/singro/v2ex/issues/56, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOuHZe4zIK9IT8kvxQEZM3QBNuGzDEyks5uEvAMgaJpZM4VHHmy .

singro avatar Jul 09 '18 05:07 singro

👍 最近在学习MVVM,组件化;想在你这个项目上练手 哈哈

hzzhitian avatar Jul 13 '18 01:07 hzzhitian

不错啊。。有兴趣的话可以顺便帮我解决下登录问题。 目前两个方案:

  1. 支持图形验证码登录
  2. 登录界面换成 webView 需要识别登录状态给客户端回调关闭页面.

singro avatar Jul 13 '18 01:07 singro

可以啊,有没有更多信息: 1,之前的登录为什么不行了? 2,支持图形验证码登录这个方案的具体api请求是什么?改的话,是改工程里的那个文件?

hzzhitian avatar Jul 16 '18 13:07 hzzhitian

没有接口,都是通过模拟网页请求实现的。 以前就是个普通的 form,现在加了图形验证码,需要把网页内的图片、请求解出来,加个输入验证码的界面,再提交登录。 具体代码可以看 v2ex/v2ex-iOS/Managers/V2DataManager.m 中 - (NSURLSessionDataTask *)UserLoginWithUsername:(NSString *)username password:(NSString *)password success:(void (^)(NSString *message))success failure:(void (^)(NSError *error))failure;

singro avatar Jul 16 '18 15:07 singro