Unless Mido was written specifically for pythonista, it is not going to work (e.g unless it is written for coremidi on iOS), since other midi libraries are not built into pythonista, and iOS is limited to static libraries. The point of those links was to give you a starting point if you want to try tackling this -- a few have tried, none have succeeded. In part because coremidi is a very low level protocol, requiring ctypes instead of objc, which makes it extremely hard to debug and get right.