i have a uiview file that i embedded into my tableview header
(class TopHeader: UIView, UICollectionViewDelegate, UICollectionViewDataSource)
If I use present(_:animated:completion:)
i am getting: Value of type TopHeader
has no member 'present'
( self.present(MyOtherViewController(doModes: [.photo]), animated: true, completion: nil))
How can I use the present method from there? Can I call a function that is in my uiviewcontroller from this uiview file?