Comments (5)
from v2ex.
from v2ex.
不错啊。。有兴趣的话可以顺便帮我解决下登录问题。
目前两个方案:
- 支持图形验证码登录
- 登录界面换成 webView 需要识别登录状态给客户端回调关闭页面.
from v2ex.
可以啊,有没有更多信息:
1,之前的登录为什么不行了?
2,支持图形验证码登录这个方案的具体api请求是什么?改的话,是改工程里的那个文件?
from v2ex.
没有接口,都是通过模拟网页请求实现的。 以前就是个普通的 form,现在加了图形验证码,需要把网页内的图片、请求解出来,加个输入验证码的界面,再提交登录。
具体代码可以看 v2ex/v2ex-iOS/Managers/V2DataManager.m 中
- (NSURLSessionDataTask *)UserLoginWithUsername:(NSString *)username password:(NSString *)password success:(void (^)(NSString *message))success failure:(void (^)(NSError *error))failure;
from v2ex.
Related Issues (20)
- 貌似不能回复楼中楼 HOT 1
- Markdown 不解析 HOT 1
- 关于Manager类的一些问题? HOT 4
- 注销账户后,重新登录crash。 HOT 1
- 看源码关于SCAnimationView.m中一个疑惑 HOT 5
- 'AFNetworking.h' file not found问题 HOT 4
- iOS 10 滑动返回动画卡顿 HOT 4
- 很奇怪的,app store里面有两个一样的。 HOT 2
- 有没有考虑做数据持久化? HOT 1
- pod install失败 HOT 1
- iPad上乱码问题 HOT 4
- 头像变形
- 下载下来就报错 HOT 4
- iOS 11 iPad乱码 HOT 1
- pod fail
- 请问一下登录为什么一直提示失败 是API过期了吗 HOT 3
- 向您请教一个关于v2ex中SCActionSheet组件的问题 HOT 2
- 回复会丢失
- 访问v2ex官网提示连接被重置?发生了什么???
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2ex.