iOS: Referencing Core icons ex: search magnifying glass? - ios

Is it possible to reference the iOS core icons? For example, I want to place an Image View that has the search magnifying glass in it.

You cannot reference them directly, but you can extract the graphics from the simulator and use them in your app. See the UIKit Artwork Extractor on github. Run the app in both retina and non-retina simulators and dump out all the iOS graphic files.

Related

ios UITableView editing mode checkmark and circle svgs

I can't do what I want with the built-in edit mode for a certain table, but I use it for other tables in my app, so I'd like to setup the selected cell in a custom way with the same checkmark and empty circle icons that Apple Uses:
Does anyone know how to get any of:
The svg icons for these?
The 1x, 2x, 3x icons for these?
Another way to reference & use Apple's Foundation Image Assets without adding them to my project directly?
Thanks for any help or direction!
Bingo. New iOS 13 beta came out with new design resources for developers. SF Symbols:
https://developer.apple.com/design/resources/

how to set app icon of app in xamarin.forms app for IOS

i have idea about how to set app icon image where we were putting all respective size icon images in resource folder.
in recent xamarin update there is no need to add multiple size images for splash screen using storyboard.
so my question is there something also for app icon also? so we need not to add multiple icon images??
any suggestion most welcome.
Add in Asset Catalog.Add an different sizes of icon and set that in infoplist.
Go to Assets.xcassets in Xamarin ios project, you will get a default AppIcon image set there which is by default using Xamarin logo.
Replace those images with you icons, make sure the resolutions your image follows the required resolutions/pixels for each (1x,2x&3x) type of images.

How to force universal app on iPad into scale mode?

I created an universal iOS app. On all iPhone variants I want native resolution without scaling, so I created splash screen images for all available sizes in images.xcassets/LaunchImage.launchimage and set them all in Xcode:
Now, this works very well for all iPhone versions up to the biggest iPhone 6 Plus.
On iPad (with high pixel density) though I don't want native resolution. Instead I want it to scale the app (even if it looks a bit blurry then, but that's ok).
How would I do that?
In image assets you have to provide proper size for each launch screen, You can not use the same image for two devices in launch-images ( unless you have two copies of the same image ).
If you want to make app-size smaller, implement launch screen, set its background color to your desired background color and put your logo in the center of it. You can now remove iPhone 6,6Plus images from image assets, but you still have to provide launch images for iOS 7 devices (old iPhones / iPad ).
Don't use the Asset Catalogue. Create a LaunchScreen.xib , add a UIImage inside the view. Open the attribute inspector in the right hand panel and set the view mode to Aspect Fill.
The solution was quite easy, I simply changed project type from "universal" to "iphone" and that did the trick!

Do I need iPhone/iPad specific button images in my case?

Here is my situation: I have a simple app with some buttons that are images. I have the image set in xcode using the menu on the right (i simply click the button and pick the image I want from the dropdown). I created them using a simple image program so they look somewhat glossy and nice, but nothing crazy. I also sized them for an iphone screen.
Using some auto layout, I've been able to ensure the layout stays the same and the buttons change size with the size of the iphone. I would like this to be the case with the iPad as well, but I'm worried if they size too big, I'll lose image quality with the button images. I'm very new to layout and coding and have only been doing this development stuff for a little while. What are my options? I figure they are...(and these might not even be possible, throwing them out there):
1) Create two version of the app, one only for iPad and one only for iPhone with different size/quality images for each.
2) Code swift to identify the device and assign the different image accordingly
3) Pick a resolution for the iphone image that when expanded on iPad won't lose much quality
4) I'm overreacting and this isn't a big deal whatsoever since it's just a basic glossy button with some shadowing.
Thank you! Advice/links appreciated.
The better option to add images for both iPhone(retina/non-retina) and iPad(retina/non-retina). Put the high-resolution and original versions of your image in the same location in your application bundle.
Ones you added images same as the below naming format in to your application resources, the application will automatically pick the right one for you.
MyImage.png - Default version of an image resource.
MyImage#2x.png - High-resolution version of an image resource for devices with Retina displays.
MyImage~iphone.png - Version of an image for iPhone and iPod touch.
MyImage#2x~iphone.png - High-resolution version of an image for iPhone and iPod touch devices with Retina displays.
MyImage~ipad.png - Version of an image for iPad.
MyImage#2x~ipad.png - High-resolution version of an image for iPad devices with Retina displays.

Use PDF in XCode for an AppIcon (.appiconset collection)

I would like to use a PDF rather than create pixel specific icons. XCode (6 & 6.1) will build device specific pixel images from PDFs during compile for icons but I can't figure out how to get this done for the AppIcon (the Springboard App Icon).
The Icon collection appears to be different from an AppIcon collection (.imageset for icons, .appiconset for the App Icon)
Wondering if anyone has had any luck with this?
Perhaps XCode (v6.1) is not yet capable of this?
As far as I can tell: with Xcode 6.1.1, using a PDF is only possible for images, not for the app icons.

Resources