I am presenting an instance of UINavigationController
modally with the modalPresentationStyle
set to UIModalPresentationFormSheet
. Inside the UINavigationController
is an UITableViewController
. For a delete button in the table view, I have to know the width of the sheet. Is there any way to access this?
I tried [self.view bounds]
, however this returns the with of the screen. I think that's because the view is not visible at the time a call this, however I don't know where else I should call it.