【问题标题】:Reading from private effective user settings When UISearchbar Clicked当 UISearchbar 点击时从私人有效用户设置中读取
【发布时间】:2017-01-20 06:31:18
【问题描述】:

我正在使用 XCode 8.1 和语言目标 c 。我在NavigationBar 上使用SearchBar。 当我打开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 路径是 /Users/online/Library/Developer/CoreSimulator/Devices/SOME NUMBERS/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 项目名称 [MC] 从私人有效用户设置中读取。

【问题讨论】:

标签: objective-c uisearchbar ios10 xcode8.1


【解决方案1】:

它是 iOS 10 的调试日志消息,只是警告而已。

忽略这一点,因为它不会影响任何喜欢在应用商店上传或批准的地方。

【讨论】:

    猜你喜欢
    • 2017-08-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-06-20
    • 2017-02-22
    • 2012-06-12
    • 1970-01-01
    • 2014-03-06
    相关资源
    最近更新 更多