How do I approach being able to write a midi file on ios?

Hi,

I would like my music app to record to a midi file, then save this file in ios shared docs. I wonder if there’s a unity library or maybe some easy to use library so I don’t have to tackle this … frightening subject.

The way to go here is iOS low level frameworks and C / objc I fear

with unity and .net you can’t do anything as the only way to even access it is the iOS low level frameworks.

So unity can’t put a file together with bytes and then save to user documents and ios?