Modal displayed underneath tab bar in iOS8

Originator:arrnas
Number:rdar://21520873 Date Originated:24-Jun-2015 12:32 PM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8
Classification: Reproducible:Always
 
Summary:
When displaying a modal view controller with presentation style UIModalPresentationStyleOverCurrentContext from a view controller embedded in a navigation controller and using a tab bar controller the modal will be underneath the tab bar on iOS8.

Steps to Reproduce:
let vc = storyboard?.instantiateViewControllerWithIdentifier("third") as! UIViewController
vc.modalPresentationStyle = UIModalPresentationStyle.OverCurrentContext
presentViewController(vc, animated: true, completion: nil)

from a view controller embedded in a navigation controller embedded in a tab bar controller

Expected Results:
modal view controller on top of tab bar

Actual Results:
modal view controller underneath tab bar

Version:
iOS 8

Notes:
sample project at https://github.com/Arrnas/modal-over-current-context

Configuration:
iOS 8 simulator

Attachments:
'Screen Shot 2015-06-18 at 10.53.27.png' and 'Screen Shot 2015-06-18 at 10.52.45.png' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!