Created
May 9, 2012 21:12
-
-
Save stephensprinkle-zz/2648872 to your computer and use it in GitHub Desktop.
How I got reachability working with iOS 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Grab the files from Apple's Page | |
>> https://developer.apple.com/library/ios/#samplecode/Reachability/Listings/Classes_Reachability_h.html#//apple_ref/doc/uid/DTS40007324-Classes_Reachability_h-DontLinkElementID_5 | |
> Place them in your project (copy in, and ideally place them in your classes group) | |
> Click on the Reachability.m file and then on the upper right area click on the 'show file inspector' icon. | |
> Then make sure the target membership is for your project. | |
> Lastly, turn off arc for this file by doing: | |
>> Select desired files at Target/Build Phases/Compile Sources | |
>> Double click on reachability.m | |
>> Type -fno-objc-arc | |
>> Press Enter or Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment