ergunemr/BottomPopup

Width proble,

Opened this issue · 2 comments

Hi I use BottomPopUp to select user cards
When BottomPopUp shows width is not equal to by self.view
Screen Shot 2019-06-25 at 2 31 03 PM
I need equal width BottomPopUp with my root view

Had the same problem and I did this to solve it. I don't know if it 's correct but it works :)

self.view.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: self.view.frame.height)

Had the same problem and I did this to solve it. I don't know if it 's correct but it works :)

self.view.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: self.view.frame.height)

it work