multipeer connectivity test on iphone and a simulator simultaneously

前端 未结 3 716
面向向阳花
面向向阳花 2021-02-13 19:38

Hello I was searching in all topics of the forum about how can i test an app which uses multipeer connectivity framework. Can someone tell me how can i test an app by using a

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-13 20:09

    In addition to testing on WiFi, you can also test your app based on "Multipeer Connectivity framework" on simulator and any IOS device using Bluetooth, As long as simulator and devices are connected in same Personal area network.

    For example, on Iphone you can turn on Personal Hotspot (in your phone General settings) to connect your phone with your mac in same personal area network via bluetooth or WiFi and then try testing your app sharing messages between simulator and Iphone using any personal network based on Bluetooth or WiFi.

    All the combination will work as long as app using "Mutlipeer connectivity framework" are on same personal area network.

提交回复
热议问题