Im trying to calculate the width of this view not the entire screen but i'm getting the whole screen width not the page sheet view on iPad.
On iPhone it is fine because the page sheet covers the whole width. But on iPads its different
let width : CGFloat = self.view.bounds.width
