I present UIAlertController action sheet from my UIViewController:
UIAlertController sheet = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:UIAlertControllerStyleActionSheet];
[self presentViewController:sheet animated:YES completion:nil];
This works fine for the most part. Except when I have keyboard present, the sheet appears behind the keyboard. Is this expected behaviour? Is there another parameter I need to specify or present it from somewhere else?