Can we use sqlite database in UIViewController for iPhone ? or Only in NSObject?
<p>I have a problem, when I want to insert data to database with Text Field such as Name, Address and Age Then I click on Save button but it failed to add these data. Here I declare in :</p>

<pre><code>#import &lt;UIKit/UIKit.h&gt;
#import "sqlite3.h"

@interface AddandFindContactViewController : UIViewController{

    sqlite3 *contactDb;
    NSString *databasePath;
}
</code></pre>
