in app want display data sqlite database on uipicker view.it working fine in ios simulator data not fetched when using iphone device.i m not getting issue.how can solved???
are sure there sqlite file available @ path? sqlite3_open() create file if not exists. please check wheather have created sqlite file in bundle, if yes cannot that. file has exist , copied bundle resource @ build time, used template copy writeable area documents folder. best way, if intend create writeable database, path documents directory , use that. can , should unconditionally, without regard whether running on simulator or not. indeed, suggest not creating more differences between simulator behavior , device behavior face anyway.
Comments
Post a Comment