ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
[picker setPeoplePickerDelegate:(id<ABPeoplePickerNavigationControllerDelegate>)self];
[picker setDelegate:(id<UINavigationControllerDelegate>)self];
[[UINavigationBar appearance] setBarTintColor:[UIColor clearColor]];
[self presentViewController:picker animated:YES completion:NULL];
[picker release];
[iOS]修改ABPeoplePickerNavigationController导航栏颜色
最新推荐文章于 2020-12-21 14:10:06 发布
本文介绍如何使用ABPeoplePickerNavigationController来实现iOS应用中的联系人选择功能。通过初始化控制器并设置代理,可以自定义联系人选择的行为。同时,还演示了如何调整导航栏的样式,并将控制器呈现为当前视图控制器的模态视图。

3466

被折叠的 条评论
为什么被折叠?



