Why is it that I cant detect the presentation style so I can resize in the view did load ?
No one will help me
Add a Comment
Why is it that I cant detect the presentation style so I can resize in the view did load ?
You could handle the various presentation styles in viewDidLoad of your main MessagesViewController. I have mine doing this;
switch self.presentationStyle {
case .compact:
// Do things with compact here
print("This is in compact style")
case.expanded:
// Do things with expanded here
print("This is in expanded style")
}
You could handle the various presentation styles in viewDidLoad of your main MessagesViewController. I have mine doing this;
switch self.presentationStyle {
case .compact:
// Do things with compact here
print("This is in compact style")
case.expanded:
// Do things with expanded here
print("This is in expanded style")
}