title: UIMenuController Custom Items not displaying
body: <p>I'm trying to display a custom UIMenuController from a UIImageView, which is embedded in a UITextView.</p>
  <p>How do I achieve this?</p>
  <p>I get a menu displaying with Cut, Copy, Paste, Select, Select All, shown in the image below:
  <img src="https://i.stack.imgur.com/4HHh7.png" alt="enter image description here" /></p>
  <p>Only if I tap more do I get what I want:
  <img src="https://i.stack.imgur.com/edNct.png" alt="enter image description here" /></p>
  <p>Here's some of my code:</p>
  <pre><code>@interface UIImageView (Extended)
  - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
  - (BOOL)canBecomeFirstResponder;
  - (BOOL)canPerformAction:(SEL)action withSender:(id)sender;
  
  @end
  
  @implementation UIImageView (Extended)
  
  - (BOOL)canBecomeFirstResponder {
      return YES;
  }
  
  - (BOOL)canPerformAction:(SEL)action withSender:(id)sender {
  
  if (action == @selector(copy:) || action == @selector(paste:) || action == @selector(cut:) || action == @selector(delete:) || 
          action == @selector(select:) || action == @selector(selectAll:)) {
  return YES; 
  }
  
  return NO;
  
  }
  
  - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
  
  [self.nextResponder touchesBegan:touches withEvent:event];
  
  }
  
  @end
  
  - (void)showMenuController {
  
  UIMenuController *sharedController = [UIMenuController sharedMenuController];
  UIMenuItem *moreOptionsItem = [[UIMenuItem alloc] initWithTitle:@&quot;More options&quot; action:@selector(imageMenuItemPressedMore:)];
  UIMenuItem *cut = [[UIMenuItem alloc] initWithTitle:@&quot;Cut&quot; action:@selector(cutImageItemPressed:)];
  UIMenuItem *copy_item = [[UIMenuItem alloc] initWithTitle:@&quot;Copy&quot; action:@selector(copyImagePressed:)];
  UIMenuItem *paste = [[UIMenuItem alloc] initWithTitle:@&quot;Paste&quot; action:@selector(pasteImagePressed:)];
  UIMenuItem *crop = [[UIMenuItem alloc] initWithTitle:@&quot;Crop&quot; action:@selector(cropImagePressed:)];
  
  sharedController.menuItems = [NSArray arrayWithObjects:cut, copy_item, paste, crop, moreOptionsItem, nil];
  
  [moreOptionsItem release];
  [cut release];
  [copy_item release];
  [paste release];
  [crop release];
  
  
  [sharedController setTargetRect:CGRectMake(theView.frame.size.width/2, 0, 0, 0) inView:theView];
  [sharedController setMenuVisible:YES animated:YES];
  
  }
  </code></pre>
  <p>What am I doing wrong?
  Any help appreciated.</p>