Home > database >  Why is my app icon bigger than the others in the macOS dock?
Why is my app icon bigger than the others in the macOS dock?

Time:02-16

I just added an app icon to my project in SwiftUI-macOS. After building and running I see my app icon is bigger than it should be! Why does this happen? As you can see, it has no corner radius either.

enter image description here

CodePudding user response:

I would suggest having a look at enter image description here

As you can see, the "background" is inset from the edge of the image boundaries, which allows you to do things like...

enter image description here

CodePudding user response:

Size of RoundedRectangular for art design would be (13/16) of 1024X1024 equal 832X832

CornerRadius of RoundedRectangular would be (22/100) of 832.0 or in other word would be (22/100)X(13/16)X1024.0

After making this image that its real size is 1024X1024 and the art size is 832X832 we can build other smaller sizes for our Xcode macOS projects via online or offline icon maker.

  • Related