Home unable to get the public ip in swift ios or mac os
Reply: 0

unable to get the public ip in swift ios or mac os

user351
1#
user351 Published in July 15, 2018, 9:13 pm

How can I get public IP address of mobile or mac using swift without using third party URLs.

Can anyone help and also I have tried the apple portmapper.h class but it is returning nil.

let data = PortMapper.findPublicAddress()
print(data) 

Showing nil.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.533754 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO