Sqlite not working in ios

I have used
var insertqQuery = “INSERT INTO useridinfo (user_id) VALUES (?)”;
$cordovaSQLite.execute(db, insertqQuery,[user.uname]).then(function(res) {
alert(“Insert successfully !”);
//$state.go(‘app.welcome’);
}, function (err) {
// console.error(err);
alert(“Fail!”); alert(“Error Method”);

    				});

But in android it is working but ios not working
Please help me…