Merge branch 'release/10_4_1' into 'develop'
release/10_4_1 hotfix merge See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/912
This commit is contained in:
commit
6449d68f4f
@ -83,6 +83,11 @@
|
||||
[self removeAllAlertViews];
|
||||
}
|
||||
|
||||
if (alertStyle == UIAlertControllerStyleActionSheet && UIDevice.currentDevice.userInterfaceIdiom != UIUserInterfaceIdiomPhone) {
|
||||
// ActionSheets are not supported on iPad interfaces without a source rect (i.e. a source element) which isn't currently supported for our generic handling.
|
||||
alertStyle = UIAlertControllerStyleAlert;
|
||||
}
|
||||
|
||||
// Create the alert. Adds the actions one by one.
|
||||
MVMCoreAlertController *alertController = [MVMCoreAlertController alertControllerWithTitle:(title ?: @"") message:message preferredStyle:alertStyle];
|
||||
for (NSUInteger i = 0; i < [actions count]; i++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user