Skip to content

huangbiyong/Apple-iCloud-lastest-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple-iCloud-lastest-API

最新的apple icloud api,亲测成功

  1. 调用signin,使用appid 账号和 密码登陆
  2. 调用accountLogin, 获取用户信息;
  3. 获取已经绑定的设备列表,主要是用在获取 短信验证码
  4. 发送验证码 或 短信验证码
  5. 校验验证码
  6. 刷新dsWebAuthToken, 重新调用accountLogin, 获取用户信息;

image.png

- (void)setupAccount {

   NSString *appid = @"";
   NSString *password = @"";

   self.icloudApi = [[BYICloudApi alloc] initWithAppid:appid password:password];
}

  • 如果登陆失败,就需要自己填写cookies , 因为 apple 的NSURLSession有自动填充cookies 功能

About

Apple iCloud lastest API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published