Added code for showing an ActionSheet on iPad (crash fix)