MPVolumeView wrong resizing for custom minimumVolumeSliderImage
| Originator: | alfgriever | ||
| Number: | rdar://15377782 | Date Originated: | 02-Nov-2013 10:18 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 7.0.3 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When using a fully customized MPVolumeView, the minimum track image is not resized correctly if the volume view is initially shown in landscape, and then a rotation to portrait occurs. The autoresizing masks are set correctly. Steps to Reproduce: - Create an instance of MPVolumeView. - Set a custom minimum track image for the volume view, using the setMinimumVolumeSliderImage:forState: method. - Set a custom maximum track image for the volume view, using the setMaximumVolumeSliderImage:forState: method. - Set a custom thumb image for the volume view, using the setVolumeThumbImage:forState:. - Show the containing view in landscape mode (with the attached sample project: start the application in landscape mode) - After viewing the volume view correctly in landscape, rotate to portrait. Expected Results: A perfectly fine slide animation of the thumb image, with the normal behaviour for all the slider image view components. Actual Results: When rotating to portrait, the minimumVolumeSliderImage is shown beyond the borders of the volume view, which seems to be resized correctly but does not clip the minimumVolumeSliderImage.
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!