I would like to fix (centralize, do not extend) the middle element of the Assets Catalog and repeat the appropriate color according to the width of the screen, but I am having trouble because I do not know how to extend the four corners.
The purpose is to dynamically generate placeholder images.
*For example, I want to increase the gray color by fixing the size of the numbers on the website below.
http://via.placeholder.com/350x150
While I was looking into it, I thought I couldn't stretch out the four corners using Slicing in the Assets Catalog. Could you tell me how best to make it happen?
ios
Slicing is a function that secures the edge and extends the center, so I don't think you can make it work as you want.
Alternatively,
I think it is around.
If you want to display a string in the center, I think 2. is easy.
© 2024 OneMinuteCode. All rights reserved.