nyzhanggy / ipaddresstest Goto Github PK
View Code? Open in Web Editor NEWThis project forked from abhimuralidharan/ipaddresstest
Code to get current local ip address (cellullar and wifi local ip) in objective -C, Refer: https://stackoverflow.com/questions/36214166/ipad-how-to-get-ip-address-programmatically-wired-not-via-wireless/36223516#36223516, If you want the public ip, you will have to ping some private apis. I couldn't find any code to get the public apis.