This sounds like a possible framework issue. Can you file a feedback through Feedback Assistant and attach a sample project that reproduces the issue? Once you do, reply with the Feedback ID.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: