title: Share sqlite db into share extension into iPhone app
body: <p>I want to integrate share extension into my iPhone app. App contain sqlite database which contains some of the phone book contacts. I added share extension into app and extension is also visible into share activity view controller. But the problem is that I can't access main app sqlite database. When I log the database path in extension it show different path than main application sqlite database path. So please help me about how to access main application database to fetch data from sqlite so I can show them into share extension custom view controller and also want to insert new data into database.</p>