Extension icon looks bad at small sizes
I apologize in advance if this is an ignorant question. I haven't used xcassets before and that may be the problem.
I created a button for my native login view controller, as instructed on the GitHub README. The size I want to use for a field is 30x30 pts, (60x60 on a Retina device). For the UIButton in interface builder, I gave it a size of 30x30 and set the image name to "extension-iphone".
When I run it on the device, the logo looks crappy, all downsampled and not a nice circle. Screenshot attached.
I see the actual assets are 60x60 pts, or 120x120 for Retina devices. This is way too big for a normal sized UITextField, IMO. Even in your example video (linked here: https://github.com/AgileBits/onepassword-app-extension), I'd estimate the icon is about 30x30.
Would it be possible to make a smaller version? Or am I doing something wrong?
Thanks!
Jeremy
Comments
-
Hi @jeremygale,
You might want to check our pull request here: https://github.com/AgileBits/onepassword-app-extension/pull/44, we've updated the icons and will keep working on optimizing it.
Please wait for the PR to be merged in, which should be relatively soon and it'll be available in the next API update.
In addition, as I already mentioned in the other thread, please file issues/requests in our github repo instead.
0 -
Oops, sorry about that. No problem, will do.
0 -
No worries, thanks for helping us with this!
0