Skip to content
Snippets Groups Projects

VLCPlaybackInfoSubtitlesFetcherViewController: Fix crash on iPad

Merged Soomin Lee requested to merge bubu/vlc-ios:subtitle/download/languages/01 into master

UIAlertController with UIModalPresentationPopover as a style need to have sourceView/sourceRect set otherwise it will crash.

More info on the exception raised by the crash.

*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x1461e1c00>) of style UIAlertControllerStyleActionSheet from UINavigationController (<UINavigationController: 0x146b54400>). The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover. You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem. If this info

Edited by Soomin Lee

Merge request reports

Merged by Felix Paul KühneFelix Paul Kühne 5 years ago (Mar 30, 2020 10:54am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading