0
我用我的應用程序源碼,並有一個運作良好的的iOS 6/iOS 5中,但不給結果的iOS 7的查詢的查詢是:查詢iOS中不給結果7
Select `user_name`, `user_udid`, `id_ipad` from tablename WHERE user_id ='%@' AND id_ipad = 1 LIMIT 0,1",[[UIDevice currentDevice] uniqueIdentifier]]
並在其中
[[UIDevice currentDevice] uniqueIdentifier]
返回正確的值。
我在SQlite數據庫中爲iOS 7做了什麼改變? 或某些方法得到depricated ..? or ..在查詢中是否有任何特殊字符不用於iOS 7 ..?
請幫
首先你檢查參數嗎? – null
是的,我查過了。如果參數不存在,那麼它不能在iOS6中工作。 – Stunner
你如何使用Device UDID?在查詢之前檢查'tempDic'? –