Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 单击UISearchbar时从私人有效用户设置读取_Objective C_Uisearchbar_Ios10_Xcode8.1 - Fatal编程技术网

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或审批中上载的位置。

请参考以下类似问题: