How do call an SQL stored procedure from Objective-C?
I have an iPad app and I'm 开发者_运维技巧trying to call a stored procedure in a remote SQL server. Is there a library or something in the framework I can use to call a SQL stored procedure?
You use the C API provided by the database vendor.
You could always create a middle man to help, its simple to process a HTTP request from objective c, so what I usually do is create a PHP page on the remote server that calls a procedure (whether its login/send mail etc) then returns any information which I parse and read in the app.
Have you tried Karl Kraft’s Objective-C wrapper for MySQL?
精彩评论