title: ios system Share and settings buttons
body: <p>I have a task to clone an application of... I can't change the client mind, pls do not suggest it.</p>
  
  <p>I can't found where is hidden in iOS this 2 buttons. I think it is coming from iOS, not just a The buttons looks like: <img src="https://i.stack.imgur.com/60adx.png" alt="Share"> and <img src="https://i.stack.imgur.com/L9p3i.png" alt="Settings">.</p>
  
  <p>I am searching a code part, something like this:</p>
  
  <pre><code>refreshButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(doStuff)];
  </code></pre>
  
  <p>but can't found a button share at:</p>
  
  <pre><code>typedef NS_ENUM(NSInteger, UIBarButtonSystemItem) {
      UIBarButtonSystemItemDone,
      UIBarButtonSystemItemCancel,
      UIBarButtonSystemItemEdit,  
      UIBarButtonSystemItemSave,  
      UIBarButtonSystemItemAdd,
      UIBarButtonSystemItemFlexibleSpace,
      UIBarButtonSystemItemFixedSpace,
      UIBarButtonSystemItemCompose,
      UIBarButtonSystemItemReply,
      UIBarButtonSystemItemAction,
      UIBarButtonSystemItemOrganize,
      UIBarButtonSystemItemBookmarks,
      UIBarButtonSystemItemSearch,
      UIBarButtonSystemItemRefresh,
      UIBarButtonSystemItemStop,
      UIBarButtonSystemItemCamera,
      UIBarButtonSystemItemTrash,
      UIBarButtonSystemItemPlay,
      UIBarButtonSystemItemPause,
      UIBarButtonSystemItemRewind,
      UIBarButtonSystemItemFastForward,
  #if __IPHONE_3_0 &lt;= __IPHONE_OS_VERSION_MAX_ALLOWED
      UIBarButtonSystemItemUndo,
      UIBarButtonSystemItemRedo,
  #endif
  #if __IPHONE_4_0 &lt;= __IPHONE_OS_VERSION_MAX_ALLOWED
      UIBarButtonSystemItemPageCurl,
  #endif
  };
  </code></pre>
  
  <p>in </p>
  
  <blockquote>
    <p>UIBarButtonItem.h</p>
  </blockquote>
  
  <p>Any help would be appreciated where to look at.
  Need to support iOS 5.0</p>
  
  <p>Edit: can't accept the answer with UIBarButtonSystemItemAction, because it looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/I2Rtb.png" alt="Action"></p>
  
  <p>As you can see, it is not the "clone" of original, bar far away, because it is missing the description ( text under icon), checked the <code>UITabBarSystemItem</code>, since those has text under icon, but nothing match the 2x images:</p>
  
  <pre><code>typedef NS_ENUM(NSInteger, UITabBarSystemItem) {
      UITabBarSystemItemMore,
      UITabBarSystemItemFavorites,
      UITabBarSystemItemFeatured,
      UITabBarSystemItemTopRated,
      UITabBarSystemItemRecents,
      UITabBarSystemItemContacts,
      UITabBarSystemItemHistory,
      UITabBarSystemItemBookmarks,
      UITabBarSystemItemSearch,
      UITabBarSystemItemDownloads,
      UITabBarSystemItemMostRecent,
      UITabBarSystemItemMostViewed,
  };
  </code></pre>
  
  <p>It seems need to search a custom library and get those 2 icons for or make 2x custom buttons with those images.</p>