Iphone – How to Create the Highlight/Note Popup Buttons from the iPhone Kindle

cocoa-touchiphone

I am wondering how Amazon did the highlight/note popup buttons in the Kindle app. After reading about UIPasteboard, UIMenuController, UIResponder, and UIResponderStandardEditActions, I am able to turn on or off standard edit actions (i.e. copy, cut, paste, select, and selectAll). However I haven't found a way to add a custom action yet. I would really appreciate it if I could get a pointer.

Thanks in advance!

Chris

alt text
(source: sampletheweb.com)

Edited by balexandre (added image instead link)

Best Answer

It looks like Amazon implemented their own custom view that mimicked the appearance of UIMenuController. I believe they did this rather than use SPI because if you click and hold on the Highlight cell, the arrow does not highlight, when it does in the real UIMenuController.