Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Pod
 
 
 
 
 
 
 
 
 
 

README.md

CHVIpify

[![CI Status](http://img.shields.io/travis/Chuong Vu/CHVIpify.svg?style=flat)](https://travis-ci.org/Chuong Vu/CHVIpify) Version License Platform

Usage

Sometimes you need the IP address of the user's iphone. In this case you can use ipify.org to simplify this!

#import "CHVIPRetriever.h"

CHVIPRetriever *retriever = [CHVIPRetriever new];

[retriever getIPAddress:^(NSString *ip, NSError *error) {
NSLog(@"IP: %@", ip); //your ip..
}];

Requirements

  • ARC
  • iOS7

Installation with CocoaPods

CHVIpify is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "CHVIpify"

Installation without CocoaPods

Just drag and drop CHVFetchIPManager.h and CHVFetchIPManager.m to your project

Author

Chuong Vu

Credit

Big thanks to Randall Degges for running and maintaining ipify!

License

CHVIpify is available under the MIT license. See the LICENSE file for more info.

About

An Objective-C library for checking your IP address from ipify.org

Resources

License

You can’t perform that action at this time.