ios - How can I get Google contact list from swift 3? -


i'm trying contact list swift 3? i've try following url contacts google i've got 401. that's error.. please me how solve it.

https://www.google.com/m8/feeds/contacts/default/full/?access_token=[token]&alt=json&callback=? 

try this:

if uiapplication.shared.canopenurl(_your_url_) {                 uiapplication.shared.open(_your_url_, completionhandler: { (success) in                     print("success") // prints success                 })             } 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -