
多数 App 都有手机注册,选择“号码所属区域”(例如+86,+1 等)是个不起眼、却不可缺少的功能,可竟然没有发现 iOS 有现成可用的(找了一阵子没找到,如果有更好的,告诉俺哈)。只能自己造一个,分享给大家。
https://github.com/everettjf/EVTPhoneAreaCodeViewController
使用比较简单。
EVTPhoneAreaCodeViewController *vc = [[EVTPhoneAreaCodeViewController alloc]init]; vc.completion = ^(NSString *name, NSString *code){ UIButton *b = sender; [b setTitle:[NSString stringWithFormat:@"+%@ %@",code,name] forState:UIControlStateNormal]; }; [self.navigationController pushViewController:vc animated:YES]; 
1 wclebb 2016 年 6 月 10 日 没看懂,使用场景和特殊人群是? 解决方案是? |
4 wclebb 2016 年 6 月 10 日 依然没明白,我看动态图还以为是用来录入通讯录。 但看起来你好像是用来查询?…… |
5 xiubin 2016 年 6 月 10 日 via iPhone 可以。。 和番茄一样好使 |
8 everettjf OP |
11 soli 2016 年 6 月 12 日 请问,录屏用的是哪个应用? |
12 fhefh 2016 年 6 月 14 日 mark |