¡@

Home 

2014/10/15 ¤U¤È 10:10:56

iphone Programming Glossary: later

AES Encryption for an NSString on the iPhone

http://stackoverflow.com/questions/1400246/aes-encryption-for-an-nsstring-on-the-iphone

decently... aside from the extra comma in each call to CCCrypt which caused compile errors. A later comment on that post includes this adapted code which works for me and seems a bit more straightforward...

Is there a documented way to set the iPhone orientation?

http://stackoverflow.com/questions/181780/is-there-a-documented-way-to-set-the-iphone-orientation

iphone objective c cocoa touch share improve this question This is no longer an issue on the later iPhone 3.1.2 SDK. It now appears to honor the requested orientation of the view being pushed back onto..

Programmatically add custom event in the iPhone Calendar

http://stackoverflow.com/questions/246249/programmatically-add-custom-event-in-the-iphone-calendar

YES error err NSString savedEventId event.eventIdentifier this is so you can access this event later Remove the event EKEventStore store EKEventStore alloc init store requestAccessToEntityType EKEntityTypeEvent..

Objective-C categories in static library

http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library

.a files added to the project. Yet I had troubles with lib project added as direct dependency. But later I found that it was my fault direct dependency projecct possibly was not added properly. When I remove..

How can I send mail from an iPhone application

http://stackoverflow.com/questions/310946/how-can-i-send-mail-from-an-iphone-application

send an email from my app iphone cocoa touch email share improve this question On iOS 3.0 and later you should use the MFMailComposeViewController class and the MFMailComposeViewControllerDelegate protocol..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

'terms' if we pre calculate the 256th roots of unity of which there are 256 that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal.. that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup log2n FFT_RADIX2 It's worth noting that if we set log2n..

iPhone App Minus App Store?

http://stackoverflow.com/questions/37464/iphone-app-minus-app-store

steps as a custom build step in your project. Note that if you wish to remove the application later you cannot do so via the standard SpringBoard interface and you'll need to use SSH and update the SpringBoard..

How to customize the background/border colors of a grouped table view cell?

http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-of-a-grouped-table-view-cell

touch uitableview uitableviewcell share improve this question UPDATE In iPhone OS 3.0 and later UITableViewCell now has a backgroundColor property that makes this really easy especially in combination..

How do you beta test an iphone app?

http://stackoverflow.com/questions/40154/how-do-you-beta-test-an-iphone-app

but is there a way to do a limited release via the app store for beta testing Answer iOS 4.0 and later Instructions on wirelessly distributing your application to beta testers . Related Also see this question..

How to build a framework or library for other developers, the secure way?

http://stackoverflow.com/questions/4065052/how-to-build-a-framework-or-library-for-other-developers-the-secure-way

Check out these articles I've successfully used the first one to create frameworks in the past the later articles are updates to the original http www.drobnik.com touch 2010 04 making your own iphone frameworks..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

will be launched by iOS in background again once it was quit by the system . This we will abuse later. In my case I used VoIP backgrounding enabled in my plist. All the code here is done in your AppDelegate.. spare with CPU time. And save all data to restore your views your app will be terminated some time later. To make it appear still running you must jump back into your last state after wakeup. I don't know..

How do I set up a simple delegate to communicate between two view controllers?

http://stackoverflow.com/questions/6168919/how-do-i-set-up-a-simple-delegate-to-communicate-between-two-view-controllers

this just declares that a ChildViewControllerDelegate type exists so that we can use it later. @protocol ChildViewControllerDelegate 2. Declaration of the view controller class as usual @interface..

iPhone UIView Animation Best Practice

http://stackoverflow.com/questions/630265/iphone-uiview-animation-best-practice

about the beginAnimations context method Use of this method is discouraged in iPhone OS 4.0 and later. You should use the block based animation methods instead. Eg of Block based Animation based on Tom's..

Understanding reference counting with Cocoa and Objective-C

http://stackoverflow.com/questions/6578/understanding-reference-counting-with-cocoa-and-objective-c

for releasing the string on to the thread's NSAutoreleasePool which will happen at some later time. The consequence is that the returned string will still be valid for the caller of this function...

Is there a good charting library for iPhone? [closed]

http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone

closed I have a need to render and display charts bar charts for now but more types may be needed later in an iPhone app I'm working on. I've done some looking around and it doesn't look like there are any..

iPhone: How to load a View using a nib file created with Interface Builder

http://stackoverflow.com/questions/863321/iphone-how-to-load-a-view-using-a-nib-file-created-with-interface-builder

nib as an array. 1 Create a custom View subclass with any outlets that you want to have access to later. MyView 2 in the UIViewController that you want to load and handle the nib create an IBOutlet property..

How to use NSURLConnection to connect with SSL for an untrusted cert?

http://stackoverflow.com/questions/933331/how-to-use-nsurlconnection-to-connect-with-ssl-for-an-untrusted-cert

AES Encryption for an NSString on the iPhone

http://stackoverflow.com/questions/1400246/aes-encryption-for-an-nsstring-on-the-iphone

However the blog post you link to does seem to work pretty decently... aside from the extra comma in each call to CCCrypt which caused compile errors. A later comment on that post includes this adapted code which works for me and seems a bit more straightforward. If you include their code for the NSData category you can..

Is there a documented way to set the iPhone orientation?

http://stackoverflow.com/questions/181780/is-there-a-documented-way-to-set-the-iphone-orientation

View 2 I want to force the phone to rotate back to Portrait. iphone objective c cocoa touch share improve this question This is no longer an issue on the later iPhone 3.1.2 SDK. It now appears to honor the requested orientation of the view being pushed back onto the stack. That likely means that you would need to detect..

Programmatically add custom event in the iPhone Calendar

http://stackoverflow.com/questions/246249/programmatically-add-custom-event-in-the-iphone-calendar

err nil store saveEvent event span EKSpanThisEvent commit YES error err NSString savedEventId event.eventIdentifier this is so you can access this event later Remove the event EKEventStore store EKEventStore alloc init store requestAccessToEntityType EKEntityTypeEvent completion ^ BOOL granted NSError error if granted..

Objective-C categories in static library

http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library

wich all_load can cause in some cases. Yes it works with .a files added to the project. Yet I had troubles with lib project added as direct dependency. But later I found that it was my fault direct dependency projecct possibly was not added properly. When I remove it and add again with steps Drag drop lib project file in..

How can I send mail from an iPhone application

http://stackoverflow.com/questions/310946/how-can-i-send-mail-from-an-iphone-application

openURL NSURL URLWithString url So how can I send an email from my app iphone cocoa touch email share improve this question On iOS 3.0 and later you should use the MFMailComposeViewController class and the MFMailComposeViewControllerDelegate protocol that is tucked away in the MessageUI framework. First..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

let's say log2n 8 so n 2^8 256 samples or 'harmonics' or 'terms' if we pre calculate the 256th roots of unity of which there are 256 that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup log2n FFT_RADIX2 It's worth noting that.. calculate the 256th roots of unity of which there are 256 that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup log2n FFT_RADIX2 It's worth noting that if we set log2n to eg 8 you can throw these precalculated values into any..

iPhone App Minus App Store?

http://stackoverflow.com/questions/37464/iphone-app-minus-app-store

you can setup SSH key authentication and add these extra steps as a custom build step in your project. Note that if you wish to remove the application later you cannot do so via the standard SpringBoard interface and you'll need to use SSH and update the SpringBoard ssh root@jasoniphone.local rm r Applications AccelerometerGraph.app..

How to customize the background/border colors of a grouped table view cell?

http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-of-a-grouped-table-view-cell

these two aspects of the grouped style table view iphone cocoa touch uitableview uitableviewcell share improve this question UPDATE In iPhone OS 3.0 and later UITableViewCell now has a backgroundColor property that makes this really easy especially in combination with the UIColor colorWithPatternImage initializer . But..

How do you beta test an iphone app?

http://stackoverflow.com/questions/40154/how-do-you-beta-test-an-iphone-app

and anyone that gives me a device I can run it on theirs but is there a way to do a limited release via the app store for beta testing Answer iOS 4.0 and later Instructions on wirelessly distributing your application to beta testers . Related Also see this question on getting your app onto phones without using the App..

How to build a framework or library for other developers, the secure way?

http://stackoverflow.com/questions/4065052/how-to-build-a-framework-or-library-for-other-developers-the-secure-way

so the user of the framework can't see the source code. Check out these articles I've successfully used the first one to create frameworks in the past the later articles are updates to the original http www.drobnik.com touch 2010 04 making your own iphone frameworks http www.drobnik.com touch 2010 05 making your own iphone..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

process. If you use one of the backgrounding features the app will be launched by iOS in background again once it was quit by the system . This we will abuse later. In my case I used VoIP backgrounding enabled in my plist. All the code here is done in your AppDelegate if the iOS device allows background execution this Handler.. I can do a lot of backgrounding. but remember be very spare with CPU time. And save all data to restore your views your app will be terminated some time later. To make it appear still running you must jump back into your last state after wakeup. I don't know if this is the approach of the apps you mentioned before but..

How do I set up a simple delegate to communicate between two view controllers?

http://stackoverflow.com/questions/6168919/how-do-i-set-up-a-simple-delegate-to-communicate-between-two-view-controllers

UIKit UIKit.h 1. Forward declaration of ChildViewControllerDelegate this just declares that a ChildViewControllerDelegate type exists so that we can use it later. @protocol ChildViewControllerDelegate 2. Declaration of the view controller class as usual @interface ChildViewController UIViewController Delegate properties..

iPhone UIView Animation Best Practice

http://stackoverflow.com/questions/630265/iphone-uiview-animation-best-practice

improve this question From the UIView reference 's section about the beginAnimations context method Use of this method is discouraged in iPhone OS 4.0 and later. You should use the block based animation methods instead. Eg of Block based Animation based on Tom's Comment UIView transitionWithView mysuperview duration 0.75..

Understanding reference counting with Cocoa and Objective-C

http://stackoverflow.com/questions/6578/understanding-reference-counting-with-cocoa-and-objective-c

string. By explicitly calling autorelease we pass the responsibility for releasing the string on to the thread's NSAutoreleasePool which will happen at some later time. The consequence is that the returned string will still be valid for the caller of this function. return s autorelease I realize all of this is a bit confusing..

Is there a good charting library for iPhone? [closed]

http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone

there a good charting library for iPhone closed I have a need to render and display charts bar charts for now but more types may be needed later in an iPhone app I'm working on. I've done some looking around and it doesn't look like there are any really good mature charting libraries for iPhone yet. I've..

iPhone: How to load a View using a nib file created with Interface Builder

http://stackoverflow.com/questions/863321/iphone-how-to-load-a-view-using-a-nib-file-created-with-interface-builder

an easier way to access the view instead of dealing with the nib as an array. 1 Create a custom View subclass with any outlets that you want to have access to later. MyView 2 in the UIViewController that you want to load and handle the nib create an IBOutlet property that will hold the loaded nib's view for instance in MyViewController..

How to use NSURLConnection to connect with SSL for an untrusted cert?

http://stackoverflow.com/questions/933331/how-to-use-nsurlconnection-to-connect-with-ssl-for-an-untrusted-cert

AES Encryption for an NSString on the iPhone

http://stackoverflow.com/questions/1400246/aes-encryption-for-an-nsstring-on-the-iphone

does seem to work pretty decently... aside from the extra comma in each call to CCCrypt which caused compile errors. A later comment on that post includes this adapted code which works for me and seems a bit more straightforward. If you include..

Is there a documented way to set the iPhone orientation?

http://stackoverflow.com/questions/181780/is-there-a-documented-way-to-set-the-iphone-orientation

back to Portrait. iphone objective c cocoa touch share improve this question This is no longer an issue on the later iPhone 3.1.2 SDK. It now appears to honor the requested orientation of the view being pushed back onto the stack. That likely..

Programmatically add custom event in the iPhone Calendar

http://stackoverflow.com/questions/246249/programmatically-add-custom-event-in-the-iphone-calendar

EKSpanThisEvent commit YES error err NSString savedEventId event.eventIdentifier this is so you can access this event later Remove the event EKEventStore store EKEventStore alloc init store requestAccessToEntityType EKEntityTypeEvent completion..

Objective-C categories in static library

http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library

Yes it works with .a files added to the project. Yet I had troubles with lib project added as direct dependency. But later I found that it was my fault direct dependency projecct possibly was not added properly. When I remove it and add again..

How can I send mail from an iPhone application

http://stackoverflow.com/questions/310946/how-can-i-send-mail-from-an-iphone-application

url So how can I send an email from my app iphone cocoa touch email share improve this question On iOS 3.0 and later you should use the MFMailComposeViewController class and the MFMailComposeViewControllerDelegate protocol that is tucked..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

or 'harmonics' or 'terms' if we pre calculate the 256th roots of unity of which there are 256 that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup.. which there are 256 that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup log2n FFT_RADIX2 It's worth noting that if we set log2n to eg 8 you can..

iPhone App Minus App Store?

http://stackoverflow.com/questions/37464/iphone-app-minus-app-store

and add these extra steps as a custom build step in your project. Note that if you wish to remove the application later you cannot do so via the standard SpringBoard interface and you'll need to use SSH and update the SpringBoard ssh root@jasoniphone.local..

How to customize the background/border colors of a grouped table view cell?

http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-of-a-grouped-table-view-cell

table view iphone cocoa touch uitableview uitableviewcell share improve this question UPDATE In iPhone OS 3.0 and later UITableViewCell now has a backgroundColor property that makes this really easy especially in combination with the UIColor..

How do you beta test an iphone app?

http://stackoverflow.com/questions/40154/how-do-you-beta-test-an-iphone-app

can run it on theirs but is there a way to do a limited release via the app store for beta testing Answer iOS 4.0 and later Instructions on wirelessly distributing your application to beta testers . Related Also see this question on getting your..

How to build a framework or library for other developers, the secure way?

http://stackoverflow.com/questions/4065052/how-to-build-a-framework-or-library-for-other-developers-the-secure-way

the source code. Check out these articles I've successfully used the first one to create frameworks in the past the later articles are updates to the original http www.drobnik.com touch 2010 04 making your own iphone frameworks http www.drobnik.com..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

features the app will be launched by iOS in background again once it was quit by the system . This we will abuse later. In my case I used VoIP backgrounding enabled in my plist. All the code here is done in your AppDelegate if the iOS device.. remember be very spare with CPU time. And save all data to restore your views your app will be terminated some time later. To make it appear still running you must jump back into your last state after wakeup. I don't know if this is the approach..

How do I set up a simple delegate to communicate between two view controllers?

http://stackoverflow.com/questions/6168919/how-do-i-set-up-a-simple-delegate-to-communicate-between-two-view-controllers

of ChildViewControllerDelegate this just declares that a ChildViewControllerDelegate type exists so that we can use it later. @protocol ChildViewControllerDelegate 2. Declaration of the view controller class as usual @interface ChildViewController..

iPhone UIView Animation Best Practice

http://stackoverflow.com/questions/630265/iphone-uiview-animation-best-practice

reference 's section about the beginAnimations context method Use of this method is discouraged in iPhone OS 4.0 and later. You should use the block based animation methods instead. Eg of Block based Animation based on Tom's Comment UIView transitionWithView..

Understanding reference counting with Cocoa and Objective-C

http://stackoverflow.com/questions/6578/understanding-reference-counting-with-cocoa-and-objective-c

we pass the responsibility for releasing the string on to the thread's NSAutoreleasePool which will happen at some later time. The consequence is that the returned string will still be valid for the caller of this function. return s autorelease..

Is there a good charting library for iPhone? [closed]

http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone

library for iPhone closed I have a need to render and display charts bar charts for now but more types may be needed later in an iPhone app I'm working on. I've done some looking around and it doesn't look like there are any really good mature..

iPhone: How to load a View using a nib file created with Interface Builder

http://stackoverflow.com/questions/863321/iphone-how-to-load-a-view-using-a-nib-file-created-with-interface-builder

of dealing with the nib as an array. 1 Create a custom View subclass with any outlets that you want to have access to later. MyView 2 in the UIViewController that you want to load and handle the nib create an IBOutlet property that will hold the..

How to use NSURLConnection to connect with SSL for an untrusted cert?

http://stackoverflow.com/questions/933331/how-to-use-nsurlconnection-to-connect-with-ssl-for-an-untrusted-cert

UISearchbar clearButton forces the keyboard to appear

http://stackoverflow.com/questions/1092246/uisearchbar-clearbutton-forces-the-keyboard-to-appear

nibBundleOrNil if self super initWithNibName nibNameOrNil bundle nibBundleOrNil ... shouldBeginEditing YES ... @end Later on in the UISearchBarDelegate we implement the searchBar textDidChange and searchBarShouldBeginEditing methods void searchBar..

How can I check if a user tapped near a CGPath?

http://stackoverflow.com/questions/1143704/how-can-i-check-if-a-user-tapped-near-a-cgpath

path by telling the context to turn the path into a stroked path then copying that path back out into another CGPath. Later I can check if CGPathContainsPoint clickArea NULL point NO ... It all worked well and good but the CGContextCopyPath being..

How do I get the next and earlier date of the current date in iPhone sdk

http://stackoverflow.com/questions/1172698/how-do-i-get-the-next-and-earlier-date-of-the-current-date-in-iphone-sdk

NSDate date NSDate date Now I want a date earlier of this date and next of it. What function should I use. Earlier and Later means a day before and a day after. Also I tried using earlierDate but may be I am using it wrong since it is returning..

Writing video + generated audio to AVAssetWriterInput, audio stuttering

http://stackoverflow.com/questions/12187124/writing-video-generated-audio-to-avassetwriterinput-audio-stuttering

I'm just generating a square wave for the duration of each frame of video and writing it to an AVAssetWriterInput. Later I'll generate the audio I actually want. If I generate one massive sample I don't get the stuttering. If I write it in blocks..

Iphone Encryption on UIImage - kCCBufferTooSmall error on AES 256 encryption

http://stackoverflow.com/questions/13248786/iphone-encryption-on-uiimage-kccbuffertoosmall-error-on-aes-256-encryption

is working well. But not in all cases. Requirement Simple take one image encrypt it and store the encrypted data. Later get the encrypted data decrypt it recreate the original image and show. What I have done From the above mentioned thread..

Storing results after screen is disappear

http://stackoverflow.com/questions/16475300/storing-results-after-screen-is-disappear

lets create basic default values gamescore NSNumber numberWithInt 0 self storeGlobalVars else self readGlobalVars ... Later in your application after importing AppDelegate.h you can use the UIAppDelegate.gamescore to access the AppDelegate's property...

iPhone app available languages in appStore

http://stackoverflow.com/questions/1896269/iphone-app-available-languages-in-appstore

the thing is dynamic the following will happen I publish the application in English and German my native language . Later someone enters French texts so from that moment on the app is also available in French. I didn't find a way to set the Languages..

Tesseract Example for Iphone

http://stackoverflow.com/questions/2335524/tesseract-example-for-iphone

p tesseract ocr or by googling. Anyone can help me give me a starting point a code snippet .. Many ThankS Later i found this code #include baseapi.h TessBaseAPI InitWithLanguage NULL NULL language NULL false 0 NULL char text TessBaseAPI..

Follow up viewDidUnload vs. dealloc question

http://stackoverflow.com/questions/2844348/follow-up-viewdidunload-vs-dealloc-question

say there's a low memory error and the view is hidden and viewDidUnload is called. We do the release and nil dance. Later the entire view stack is not needed so dealloc is called. Since I already have the release and nil stuff in viewDidUnload..

UITableView with fixed image background

http://stackoverflow.com/questions/3693978/uitableview-with-fixed-image-background

the xib with main view A containing a table T and an image IMG background behind image as subview of main view . Later I assigned UITableViewController as owner. This is where problems start. In IB if I connect view to A I got a runtime error..

UITextView delegates problem

http://stackoverflow.com/questions/3779306/uitextview-delegates-problem

in fact freed another object took its place later on usually some Apple's internal object you've never heard about. Later on your code tries to message your poor object but it sends a message to something completely different. BUMMER That's how..

iPhone app in landscape mode

http://stackoverflow.com/questions/402/iphone-app-in-landscape-mode

iOS because of a major know bug window addSubview happyThing.view window makeKeyAndVisible You can do that only once . Later if you try to remove happyThing.view and instead put in there newThing.view IT DOES NOT WORK AND THAT'S THAT. The machine..

Find a point, a given distance, along a simple cubic bezier curve. (On an iPhone!)

http://stackoverflow.com/questions/4058979/find-a-point-a-given-distance-along-a-simple-cubic-bezier-curve-on-an-iphone

controlPoint1 controlPoint2 in your cocoa application How do you find points and the tangents along the curve Later for a complete and simplified solution based on Michal's answer below click to Find the tangent of a point on a cubic bezier..

In App Purchase Crashes on [[SKPaymentQueue defaultQueue] addPayment:payment]

http://stackoverflow.com/questions/4150926/in-app-purchase-crashes-on-skpaymentqueue-defaultqueue-addpaymentpayment

in response.invalidProductIdentifiers NSLog @ Invalid product id @ invalidProductId testLabel.text @ Try Again Later. finally release the reqest we alloc init ™ed in requestProUpgradeProductData productsRequest release NSNotificationCenter..

Mysterious “progressive slowing” problem in run loop / drawRect

http://stackoverflow.com/questions/4786754/mysterious-progressive-slowing-problem-in-run-loop-drawrect

Output example below. Does anyone know why this happens It is very strange behaviour from the OS. Later ... an astounding work around has been figured out by FELZ. Felz copies the CGLayer once each round. This completely stops..

Invalid Binary Itunes Connect [duplicate]

http://stackoverflow.com/questions/4796482/invalid-binary-itunes-connect

I have tried like everything and evertime i submit my app to itunes connect it allways says Upload Received 2 minutes Later Invalid Binary Its Driving me mad and i have already Cleaned all builds Made a new Entitlement.plist Checked that it built..

Just two rounded corners? [duplicate]

http://stackoverflow.com/questions/4845211/just-two-rounded-corners

bitmask that identifies corners since each member of the enum represents a different power of two in the bitmask. Much Later Edit I've discovered an easier way to do this using UIBezierPath 's bezierPathWithRoundedRect byRoundingCorners cornerRadii..

How to change the default View Controller that is loaded when app launches?

http://stackoverflow.com/questions/4876811/how-to-change-the-default-view-controller-that-is-loaded-when-app-launches

say 'MyApp' which by default loads the view controller 'MyAppViewController' whenever the application launches. Later I added a new view controller 'NewViewControler' to the project. I now want the 'NewViewController' to be my default view..

iOS UIImageJPEGRepresentation error: Not a JPEG file: starts with 0xff 0xd9

http://stackoverflow.com/questions/5081297/ios-uiimagejpegrepresentation-error-not-a-jpeg-file-starts-with-0xff-0xd9

like this NSData img UIImageJPEGRepresentation myUIImage 1.0 BOOL retValue img writeToFile myFilePath atomically YES Later I load that image back into a UIImage using UIImage myImage UIImage imageWithContentsOfFile path I know it works because..

UIWebView - Enabling Action Sheets on <img> tags

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

add some of the options to a webView that apple left out. Of cause though you can add more things to this like a Read Later option for instapaper or a Open In Safari button. looking at the length of this post I'm seeing why the original tutorial..