ergunemr / BottomPopup

BottomPopup provides a popup-like presentation style to any view controller
MIT License
875 stars 88 forks source link

Width proble, #16

Open ghost opened 5 years ago

ghost commented 5 years ago

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

nightroadcosplay commented 5 years ago

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)

phanlinh9011 commented 4 years ago

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