Objective c 单击UISearchbar时从私人有效用户设置读取
我正在使用Objective c 单击UISearchbar时从私人有效用户设置读取,objective-c,uisearchbar,ios10,xcode8.1,Objective C,Uisearchbar,Ios10,Xcode8.1,我正在使用xcode8.1和语言c。我在导航栏上使用搜索栏。 当我打开SearchBar并单击在SearchBar中写入内容时,XCode控制台中会出现警告 我们是如何解决这个问题的。 请帮忙 我在viewDidLoad中以这种方式添加了uisearchbar - (void)viewDidLoad { [super viewDidLoad]; UISearchBar * searchBar=[[UISearchBar alloc]init]; searchBar.del
xcode8.1
和语言c。我在导航栏
上使用搜索栏
。
当我打开SearchBar
并单击在SearchBar
中写入内容时,XCode
控制台中会出现警告
我们是如何解决这个问题的。
请帮忙
我在viewDidLoad中以这种方式添加了uisearchbar
- (void)viewDidLoad {
[super viewDidLoad];
UISearchBar * searchBar=[[UISearchBar alloc]init];
searchBar.delegate=self;
[searchBar sizeToFit];
searchBar.placeholder = @"Search";
searchBar.userInteractionEnabled=YES;
[searchBar becomeFirstResponder];
self.definesPresentationContext = YES;
self.navigationItem.titleView=searchBar;
}
警告::
项目名称[MC]的系统组容器
systemgroup.com.apple.configurationprofiles路径为
/用户/在线/库/开发者/核心模拟器/设备/一些
数字/数据/容器/共享/SystemGroup/SystemGroup.com.apple.configurationprofiles
从私有有效用户设置读取项目名称[MC]
这是一条IOS10的调试日志消息,只是警告没有其他内容
忽略此问题,因为它不会影响任何希望在appstore或审批中上载的位置。请参考以下类似问题: