Make _inscribedRectInBoundingPathByInsettingRect public

Number:rdar://FB7673615 Date Originated:
Status:Open Resolved:
Product:UIKit Product Version:
Classification:Suggestion Reproducible:
Although we have safeAreaInsets, it doesn't always serve all the needs. The clear example – [vertical/horizontal]ScrollIndicatorInsets, for bottom horizontal indicator we need a special value that will represent how much we need to inset from screen edge because of display's rounded corners. Mobile Safari, as seen from disassembly, has a complicated mechanism to achieve that, involving use of 
But there is no any equivalent for that method in public api, and thus, no way of solving that problem by non-apple developers rather that hardcode values, which is very bad.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!