I am new to iOS development and I am trying to make an application which should access a value from a Database using wi-fi and make changes in the front end according to the Value. I didn't find any inbuilt function provided by Apple to access oracle database. I found a link (http://odbcrouter.com/iosinstall) which was suggested by someone on stackoverflow. But this needs to be purchased and I don't want to spend money just for learning purpose. Can somebody please tell me how to connect to any database from an iOS application? Please also tell me if I am missing any inbuilt function provided by Apple.
Thanks.
Edit: I have heard many people say that it is not good to expose database directly to an iPhone app but I am saying that even I don't want to do this. I just want to know if a database can be connected through an iPhone application for learning purpose.