【问题整理】苹果登录name、email为空nil

1. 苹果登录name、email为空nil
ASAuthorizationAppleIDRequest with name and mail scope returns nil values

https://stackoverflow.com/questions/57593070/asauthorizationappleidrequest-with-name-and-mail-scope-returns-nil-values

1.首次登陆拿到信息最好做信息备份或存本地
2. 在iOS13上恢复操作如下

To revoke access on your device with IOS 13.

iPhone Settings >AppleId> Password & Security >AppleIDlogins > {YOUR APP} > Stop usingAppleID


2.适配iOS13之AFNetworking + UIWebView

去掉这个分类即可

pod 'AFNetworking', '~> 3.0', :subspecs => ['Reachability', 'Serialization', 'Security', 'NSURLSession']

//#import <AFNetworking/AFNetworking.h>

改为

#import <AFNetworking/AFNetworking-umbrella.h>



3. uitableview cell 默认选中的

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
            // 设置默认选中的 cell  **关键代码
            [tableView  selectRowAtIndexPath:indexPath animated:YES scrollPosition:UITableViewScrollPositionNone];
}

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。