[iOS][BLE] Can I connect to multiple peripherals while still scanning?

I'm trying to build a feature which allows:

  1. Peripheral send some info (up to 512 bytes) to central
  2. Central connects to all nearby peripheral, and display the connected peripherals as a list
  3. When user tap on any of the peripheral from the list, central send back some info back.

In order to achieve this, I need to make sure to connect to the discovered peripherals before sending over the data because the data i want to send through BLE is larger than advertisementData MTU while peripheral starts broadcasting.

However, I also saw some discussion suggesting that I should stop scanning first before establish connection.

I wonder if you have any recommendation for my scenario. (Let's assume BLE is the ONLY approach I can go with for transferring data because I want to do this cross Android and iOS offline)

Should I maintain 2 peripheral arrays to tracked the discovered and connected peripherals? Am I supposed to connect to the peripheral while scanning?

If not, any recommendations?

Thank you!