Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> iOS

ไม่สามารถดึงหมายเลขโทรศัพท์ของ iPhone ด้วยโปรแกรมได้

ไม่สามารถดึงหมายเลขโทรศัพท์ iOS ได้ด้วยโปรแกรม Apple ไม่อนุญาต

Private API อาจทำได้แต่จะถูก Reject จาก App Store

ตาม Apple Guidelines: แอปต้อง Self-contained ใน Bundle ไม่เข้าถึงข้อมูลนอก Container และหมายเลขโทรศัพท์ไม่อยู่ใน Container ของแอป

Apple Developer Forum: "Regardless of which programming language you use, Apple doesn't make the phone number associated with a device available to developers."