HomeiOS Developmentios - FloatingPanelController stops displaying content material after upgrading from Floating Panel...

ios – FloatingPanelController stops displaying content material after upgrading from Floating Panel v1.7.5 to newest


The “content material” I’m referring to is a part of the contentViewController handed to fpc.set. Utilizing the previous model, the content material seems as anticipated, however after upgrading, the content material vanishes. If I remark out the under code utilizing the previous model of Floating Panel, the content material additionally disappears.

Does anybody see one thing on this code that ought to have additionally been modified when upgrading the Floating Panel model? This pod was upgraded after shifting to newest Mac OS, XCode, and our take a look at iPad as a result of it did not in any other case work appropriately.

        if let punchTVC = storyboard?.instantiateViewController(withIdentifier: "PunchTableViewController") as? PunchTableViewController {
            punchTVC.dataSource = self
            fpc.set(contentViewController: punchTVC)
            fpc.monitor(scrollView: punchTVC.tableView)
            _punchTableView = punchTVC
            _punchTableView?.tableView.rowHeight = UITableView.automaticDimension
            _punchTableView?.tableView.estimatedRowHeight = 50
        }

Any ideas are appreciated.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments