How to add a standard icon to a button in UIKit/Storyboard for iOS 12?

I’m using Storyboard editor on XCode 11.3.1 to create a UIButton with an icon. When I add a “system” image to a button, e.g., named square.and.pencil, it shows it in Storyboard and on iOS 13 devices. But on iOS 12, it shows nothing. Any way to use system icons for older iOS?

Also note:

  • User-created images from assets are working everywhere with my setup.
  • UIBarButtonItem shows the same icon on all devices, but it’s specified with “System Item: Compose,” not with an image named square.and.pencil.

Works for iOS 13, but not iOS 12

Source: Ios