[Regression] Unexpected UIActivityItemSource behaviour on iOS 11
Originator: | hong.rich | ||
Number: | rdar://34579261 | Date Originated: | September 21 2017 |
Status: | Duplicate/33610588/Open | Resolved: | |
Product: | iOS + SDK | Product Version: | iOS 11 |
Classification: | UI | Reproducible: | Always |
Area: UIKit Summary: iOS 11 sometimes have unexpected behaviour using opening share sheet with URL items that conforms to UIActivityItemSource. A couple of examples of this bug in the wild are: • Go to any app page in the App Store. Tap the overflow button to open share sheet. Tap on "Copy Link". Paste in Messages. You see the link appears twice when it should only appear once. rdar://34128091 • 3D touch any 3rd party app on the homescreen. Tap share to open share sheet. Tap on "Copy Link". Paste in Messages. You see the link appears twice when it should only appear once. I've created and attached a sample project that demostrates this bug. I've also attached video of tapping on the last button in the sample project on iOS 10 and iOS 11 which shows that it worked in iOS 10 as expected but is now broken in iOS 11. Steps to Reproduce: • Run the test project on iOS 11 • Tap on each of the buttons • Tap "Copy" when share sheet appears • Contents of the pasteboard will be printed out at the bottom. • The first 3 behaves correctly on both iOS 10 and iOS 11. Expected Results: • For the last button, we expect only 1 URL to be copied which is the case on iOS 10. Actual Results: • On iOS 11, two URLs are copied into the pasteboard when only one of the item source contains a URL. Version/Build: iOS 11
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!