测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可证 | MIT |
发布上次发布 | 2014年12月 |
由 Jeong YunWon 维护。
依赖关系 | |
AFNetworking | ~> 1.3.4 |
STLOAuth | >= 0 |
使用单个方法使 Twitter Reverse Auth 变得简单!
实现代理方法以提供 API 令牌和密钥。
Cocoapods 可用。
ACAccount *account = // your account from ACAccountStore
TwitterReverseAuth *auth = [[TwitterReverseAuth alloc] initWithDelegate:self];
[auth requestCredentialsForAccount:account completion:^(NSDictionary *credentials, NSError *error) {
if (credentials.count > 0) {
NSLog(@"credential: %@", credentials);
} else {
NSLog(@"error: %@", error);
}
}];