0

我想知道是否可以在 UITableView (不是控制器)上使用 UITableViewVibrantCell 。我不知道该怎么做。

我正在做 :

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = self.tableView(tableView, cellForRowAt: indexPath) as! UITableViewVibrantCell

        cell.blurEffectStyle = SideMenuManager.default.menuBlurEffectStyle

        return cell
    }

我的 UIViewController 继承自 UITableViewDataSource 和 UITableViewDelegate。

谢谢您的帮助 :)

4

0 回答 0