Security Setting iOS Connected Http - Android

Get it on Google Play

Security Setting iOS Connected Http - Android

หัวข้อหนึ่งของ คอร์ส เขียนแอพไอโฟน ด้วย Swift https://www.androidthai.in.th/course-basic-ios-with-swift-private.html คือการเชื่อมต่อ Server เพื่ออ่าน JSON มาที่ iOS

Screen Shot 2562 01 11 at 07.38.30

โจทย์ของเราเป็นอย่างนี่ เราต้องการให้ แอพไอโฟน ของเรา อ่าน JSON จาก http://www.androidthai.in.th/bua/getAllData.php 

Screen Shot 2562 01 11 at 07.38.38

 นี่ไง JSON ที่เราอยากได้

Screen Shot 2562 01 11 at 07.43.38

กำหนด ตัวแปร String เป็น URL ที่อยากไปดึง JSON

Screen Shot 2562 01 11 at 07.44.42

พอรันจะ Error แบบนี่ blocked Http://

Screen Shot 2562 01 11 at 07.54.05

แก้อย่างไร ? ตามมาครับ ไปที่ info

12/01/2019 12:44 AM