Existe o projeto "libpq-ios" no github. Eu usei. https://github.com/spacialdb/libpq-ios http://devcenter.spacialdb.com/iOS.html