How to get images for ipad custom keyboard

Does anyone know how to get button images and gradients for ipad custom keyboard? I would like these buttons to look like buttons on the system keyboard, but with their different text. I have background gradient values ​​and I can create a CGGradient (and subsequently UIImage) to get the background. The problem is that when I try to set the background of UIButton as UIImage, I get a square button. I thought the image would fill the rounded rectangular part of the rounded rectangular button, but that is not the case.

Does anyone know how to make these buttons? I guess I can get png for each button, but that just seems silly.

Thank!

+3
source share
1

UX , Photoshop, . Apple, , , , ( , UIBarButtonSystemItemCancel).

0

Source: https://habr.com/ru/post/1777663/


All Articles