Select output device with MPMusicPlayerController - ios

I have an app where you can choose from your itunes library which songs you want to play (MPMediaPickerController and MPMusicPlayerController). That works without any problem.
Is there a way to show and select the output devices (iphone or connected bluetooth speaker)?

Related

See recorded activities on iPhone simulator?

Is it possible to get the Activity app on an iPhone simulator?
Working on an Apple Watch workout app and it's a pain to keep building on my actual device in order to see the saved workouts, the simulator is a LOT faster but I can't seem to find anything about this.
It's not a programming related question so I'm sorry if this is not the correct place to ask.
Workouts performed in a Watch simulator will reflect in the Health app on the paired iPhone simulator.
To pair a Watch and iPhone simulator in Xcode 11:
Window > Devices and Simulators
Select Simulators tab
Tap '+' at the bottom left
Add an iPhone simulator and make sure the 'Paired Apple Watch' checkbox is checked
Add a Watch simulator
Start the Watch sim and record a workout. Check the Health app on the paired iPhone simulator and you should see that your Watch workout was recorded.

Find device type on airplay

When I press the airplay button the list of the devices that are available are shown. How do i get the device type (Apple TV , Bluetooth speaker, etc) when connecting using airplay.

Need app preview video for all devices

To create an app preview video, it is easiest if the developer records the screen of all type of devices, when using the app.
What if I have only one type of device, an iPhone 5? If I create app preview video and upload only for the iPhone 5, what will happen when someone with some other device, like iPhone 6, tries to see my app?
Will he able to see as replacement video, the video for iPhone 5, or no video will be in App Store to see because video is strictly device-specific?
Sorry for the very very very late reply.
The reason you have to upload different screenshots for different devices is so the user gets the most optimized screenshots. If you only have one device, try to record the simulator at 100% scale on each device so you can get the app preview on every device.

iOS bluetooth pairing with other phone programmatically

I need to connect the bluetooth handset programmatically in one of my iOS projects. I do not want to go through iPhone settings to connect the bluetooth handset.
I searching in Google finely i got one link THIS
In this Link provide source Code .I download and then run that file .it's open simulator like this
When I click scan button it showing Error "Turn Bluetooth on first" and then I pressed Bluetooth on button no use.
Any Bluetooth Device are not showing.
SO please give me any idea about HOW to Connected iPhone Bluetooth pairing with other Phones Bluetooth Programmatically.
First tell me it's possible in simulator or not?

ipad airplay mirroring to multiple airplay receivers (specifically for videos/pictures)

my client asks me to develop some app for real-estate presentation which has the following features:
1. The seller can have their ipads connect to the projector wireless over wifi.
2. The seller can broadcast the screenshot of some other ipads to the customers's ipads.
For feature 1, I can have a apple TV and airplay mirroring the ipad screen to it, then have some HDMI-VGA adapter for the connection with the projector.
For feature 2, I can also install airfloat to make the ipad an airplay receiver. I can also airplay mirroring the screen of the seller's ipad to the customer's ipad.
As for as I know, it seems to be no way to airplay mirroring the screenshot of one ipad to multiple ipad airplay receivers.
So I'm wondering how can I airplay mirroring one screen to many ipad airplay receivers?
How about you use airview or airplay receiver like in this link? It seen like we need to solve some problem to use.
https://github.com/nto/AirView
Another one is you can use this SDK. It has screen sharing and gesture sharing from one device to another device. It seen quite good.
http://www.showkit.com/
Our rPlay airplay mirroring software implemented the features you asked. rPlay acts as Apple TV, you can mirror ios devices to it, rPlay can also duplicate displays to other rPlay devices, the result is one ios device sends its screens to multiple devices.
We are also develop viewers for mobile devices to receive rPlay displays.
Check our forums at http://www.vmlite.com for more info

Resources