mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Handle long press on back buttons
This commit is contained in:
@@ -69,11 +69,11 @@
|
||||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction * _Nonnull action)
|
||||
{
|
||||
// Hide back button title
|
||||
mxkViewController.navigationItem.backBarButtonItem =[[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil];
|
||||
|
||||
[self fetchWidgetURLAndDisplayUsingWidget:widget canPresentServiceTerms:YES];
|
||||
}];
|
||||
// Hide back button title
|
||||
[mxkViewController vc_removeBackTitle];
|
||||
|
||||
[self fetchWidgetURLAndDisplayUsingWidget:widget canPresentServiceTerms:YES];
|
||||
}];
|
||||
[self.alertController addAction:alertAction];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user