How to get red round minus icon as png with transparent background? - ios

I need the red-minus badge icon - that one which is used for deleting rows in a UITableView.
Is there a way to get it programmatically? I have searched via google, browsed in several icon databases - without success.
(to get the icon when I enter the editing-modus of a table is clear - I need the icon as a design element in retina resolution).

You can use UIKit-Artwork-Extractor for exactly that.

Related

iOS 11+ launch screen - custom named colors in dark mode

Is it possible to use user defined named colors in the launch screen storyboard?
I tried creating test color in xcassets, with appearances {dark, any} and setting it as Launch screen main view background.
I noticed significant differences:
- in RELEASE my custom colors never work
- in DEBUG some colors work, some are ignored, some are changing values (e.x. dark color is correct, but light is biased), and generally it is a mess
I know I need to delete app every time since launch screen is cached, are there any additional constraints? I fail to get any consistent results. Only thing that seems to work is "System background color".
Similar question goes for images.
OK, so short update. It is possible to use named colors and images with dark appearance on the launch screen after all.
It just works like nightmare. Which means that some parts are getting somehow cached (not sure what is happening underneath).
The final result is that to get consistent results, I had not only to delete app from the device, but also restart the phone.
I also noticed, that images with dark appearance are somehow broken - twice bigger or twice smaller, than their "any" appearance counterparts (even when I used exactly same files). That altogether creates unbelievable mess making it hard to test.
This is still a mess in iOS 13. I ended up using the build in dynamic system colours and tinting them with an overlay.

ios custom font with splash screen [duplicate]

I'm using a label to display text with my custom font on LaunchScreen.xib. My custom font shows up fine in the Interface Builder, but when I test it on my iPhone the font reverts back to the default font.
Not sure how to fix this or if it's a bug.
There's no big surprise here. The launch screen is shown at launch time - actually, before launch time - so the font probably hasn't yet loaded.
You could file a bug if you think you have a compelling use case. But I don't really think you do. Why are you showing any text in your launch image? It should be much more bare-bones than that - just enough to give the structure of the opening interface, which will be filled in when the opening interface actually appears. A "blank" screen with the same background color as the initial view controller's background color would be sufficient. You goal is just to provide an alternative to blackness.
A quick workaround is to use an UIImageView and have your text as UIImage on it, literally a picture of your text as .png / .jpeg or similar.
Note: It may take some time before you can see the image, I had to clean the Build Folder and reinstall the app a couple of times in order to see the image.
Another note: If you want to support multiple languages with different texts you will need to have different images for each language using this approach.

Where do I get the iOS toolbar icons for up/down arrow?

I'm looking for these button icons,
, that I found in the Apple developer's guide for working with toolbars (almost half way down the page, but I can't find them in the storyboard.
I found a bunch of other icons in the storyboard for images, as shown here on the right, and I expected they would be there but they weren't.
Where do I get all these icons that Apple suggests I use? I would really like to use the up/down arrows for casting votes in my app.
Specifically, where can I get all of the images found in this guide
(source: apple.com)
They are not available. They're just a list of icons they have developed for iOS as a showcase. You should look into making them yourself and applying them as a UIButtonTypeCustom. Small drawback is that if the iOS style changes (like iOS6 -> iOS7) you need to manually update your custom buttons while the rest is automatically upgraded.

Tab Bar application inside a Navigation-based application

I'm developing an application which is designed to hold lots of instances of the same thing.
For example, amateur football teams can sign up and add their information to the app, and then browse through navigation controller/table-views to find their team amongst other teams.
Selecting a team would then open an instance of a view which would be tab-bar based.
The issue I'm having is the displaying of the tab bar icons. Other than that, it works perfectly.
There isn't any code involved, so my I can only really use images to explain.
Unfortunately I can't post images yet and can only post 2 links
Please look at the links:
http://s28.postimg.org/nxk8r1vst/IMG_3954.png
http://s28.postimg.org/6j00irynx/IMG_3955.png
When the tab-bar view is first opened in 1, you can see the icons aren't displayed correctly - the current tab is white tinted, the text of the other tab is default but the icon is white tinted. In links 2 and 3 they are highlighting and dimming properly BUT not picking up image tinting at all - i had set image tint to red to test it.
Image 4 is my storyboard for this. Doesn't seem to be anything wrong, as I said the navigation all works fine.
Apologies if this question isn't formatted properly. I haven't been able to find any answers and could really do with some suggestions.
Thanks
Are you sure you use the images for the UITabBar in correct format:
It should be in png format and in the following size:
About 50 x 50 pixels (96 x 64 pixels maximum)
About 25 x 25 pixels (48 x 32 pixels maximum) for standard resolution
Also the image should be white on transparent.
I'm almost positive that goes against an apple design directive.
Don't you mean several NavigationControllers one under each tab of a TabBarController i.e. NavigationControllers inside TabBarControllers and not the other way around?
By the images it looks like they are separate navigation controllers under distinct tabs

Calling UIBarButton icons as images in iOS

I would like to use the system folder icon (UIBarButtonSystemItemOrganize) as the image on the left side of a table cell. Is there any way to call this icon in such a way that it can be used in cell.imageView.image?
No, you have to provide your own images. There are numerous free and paid icon sets that available provide similar icons.

Resources