Can I use the iOS system icon in my app? - cocoa

I want to create a button with the icon like UIBarButtonSystemItemAction style, how can I use the icon of the UIBarButtonItem icons,
what is the name of it? Or is there some system URL is for it?

Related

Xamarin Forms - Change back button image

I can successfully hide the back button but can't change image of button.
To hide back button:
NavigationPage.SetHasBackButton(page, bool);
There is Icon attribute but we need to change back button image.
The only way to do this is to override the NavigationBar on each particular OS you have.
For Android you will need to look at the ToolBar and on iOS is the NavigationBar.
Refer :
https://blog.xamarin.com/android-tips-hello-toolbar-goodbye-action-bar/
https://developer.xamarin.com/recipes/ios/content_controls/navigation_controller/change_the_back_button/

Yosemite-style toolbar for document based apps?

Looking for a way to create a Yosemite-style toolbar but retain the default functionality of the titlebar of document based apps.
Here's one way to create a Yosemite-style titlebar:
macOS window with integrated title bar and toolbar?
Which requires hiding the titlebar. Is there a way to get this look and feel but retain the titlebar view which contains:
the filename
if the file has been edited
the fancy renaming popover?
These are the controls we'd like to retain:

Nice new 10.7 Lion Toolbar Items

I wonder if anyone knows how to get this "Lion-style" toolbar items like we can see in Apple Mail application? Are they all custom or can be found anywhere? They are surely not present in IB.
Or are they just styled buttons and segmented controls?
The "Lion-Style" toolbar items would appear to be just Rounded Textured buttons with the image and alternate image set. You can drag these buttons directly from the IB library to your toolbar.

How to add other application's icon to Toolbar in Cocoa?

I have a window with some content that could be previewed, mailed,...
I decided that the best way to do this is to put appropriate application icons in toolbar, namely from Mail, Preview,...
Trick is, how to do that? Is thee any way too access other's application package and have access to its icon? Or is there any other elegant way?
Code:
// Get icon
NSImage *theIcon = [[NSWorkspace sharedWorkspace] iconForFile:#"/Applications/Mail.app"];
// Display icon (irrelevant in your case)
[theIcon setSize:NSMakeSize(128, 128)];
[theImageView setImage:theIcon];
There is also one other way of doing it, especially if you are building toolbar in IB:
right-click application icon
copy it
open Preview
select New from Clipboard
You will get complete set of application icons in any size. You can export them and put them in Image Well in IB

iOS: creating icon

I want inside my app to create new "shortcut icon" in the same iPhone, where every icon has a dynamic image that I create. Is it possible using iOS?
According to my searches (see this answer) the only possible way is to launch safari from my app and there ask the user to press "+" button inserting your url scheme.
Don't believe this is possible. To do this, you would have to, at least change the icon in your app bundle (Naïvely assuming iOS doesn't cache the icons).
Your app only has access to the "Documents" directory.
You can set a numerical badge on an icon - might this work for you? If so, take a look at local notifications in the notifications guide: http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html

Resources