SafariViewController shows blank screen when using UIImage with mode UIImageRenderingModeAlwaysTemplate
| Originator: | wendywhen06 | ||
| Number: | rdar://23891829 | Date Originated: | 12/14/2015 |
| Status: | Open | Resolved: | |
| Product: | Product Version: | ||
| Classification: | iOS SDK | Reproducible: | Always |
Summary: 1. Safari view controller shows blank screen when adding the following code snippet to anywhere before the safari view controller renders. UIImage *image = [[UIImage imageNamed:@"someimage"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; UIImage *image = [[UIImage imageNamed:@"someimage"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; 2. To confirm other render modes are working, you need to quit the current simulator and rerun, otherwise the app will keep returning blank screen no matter which render mode it is. Steps to Reproduce: 1. Add a button that triggers safari view controller rendering. 2. Add code snippet to anywhere before the safari view controller renders. 3. Click the button Expected Results: Safari View Controller should render with given url. Actual Results: Safari View Controller return blank screen. Version: iOS 9.1 Notes: Configuration: Xcode 7.1 simulator
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!