Send Midi notes Over Bluetooth to IOS plataform

hello, Im making a Guitar Footswitch via midi, this is for controller amplitube or similar on IOS plataform.
Like this

So Im following this code project, that do this, but with a interface from USB. SO...

I want to send a pulse to arduino, and then transform this pulse in a midi note that IOS plataform can recognize.
Can you help me ? I am looking for this board:

https://developer.mbed.org/platforms/RedBearLab-BLE-Nano/

Video Working
Thanks!