0
我米從SQLite表中檢索數據並在填充的tableview它如何從數組插入數據到uitableview?
//get notes saved to database
NSString *[email protected]"select * from ATTACHABLEITEM where ATYPE='notes'";
NSArray *notesarray=[delegate.database executeQuery:selectQuery];
[table dictionaryWithValuesForKeys:notesarray];
this is going wrong.what is the right way to do so?
假設notesarray爲您提供字典數組,[dictionaryWithValuesForKeys]返回根據爲指定鍵獲取的值構建的字典。 – Devang