gpt4 book ai didi

iOS 7 添加 UIView 到 UITableView

转载 作者:行者123 更新时间:2023-11-29 13:03:55 24 4
gpt4 key购买 nike

我正在尝试将 UIView 添加到 iOS 7 中的 UITableView 以显示和“非结果” View 。

我的代码在 iOS 6 中运行良好,但在 iOS 7 中出现白页。

    [self.tableView insertSubview:_nomatchesView belowSubview:self.tableView];

有人遇到过这个问题吗?

谢谢。

最佳答案

这是因为我在标签上设置了 shadowColor。

matchesLabel.shadowColor = [UIColor lightTextColor];

我删除了它纠正了问题的那一行

关于iOS 7 添加 UIView 到 UITableView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19098542/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com