¡@

Home 

2014/10/15 ¤U¤È 10:13:43

iphone Programming Glossary: selectedlinkurl

UIWebView - Enabling Action Sheets on <img> tags

http://stackoverflow.com/questions/5163831/uiwebview-enabling-action-sheets-on-img-tags

alloc initWithTitle nil delegate self cancelButtonTitle nil destructiveButtonTitle nil otherButtonTitles nil selectedLinkURL @ selectedImageURL @ If an image was touched add image related buttons. if tags rangeOfString @ IMG .location NSNotFound.. @ Copy Image If a link is pressed add image buttons. if tags rangeOfString @ A .location NSNotFound selectedLinkURL tagsHREF sheet.title tagsHREF sheet addButtonWithTitle @ Open sheet addButtonWithTitle @ Copy if sheet.numberOfButtons 0.. 0 sheet addButtonWithTitle @ Cancel sheet.cancelButtonIndex sheet.numberOfButtons 1 sheet showInView webView selectedLinkURL retain selectedImageURL retain sheet release NOTES selectedLinkURL and selectedImageURL are declared in the .h file to let..