1
是否有可能在textview中顯示一個sqlite值?我已經在tableviewcontroller,但我不能夠顯示相同的文本視圖。 appdelegate.biblearray是容納sqldata的數組。我在另一個模塊中有同樣的問題。請查看此鏈接的問題[這裏是鏈接]:How to show sqlite datas in a textview?在textview中的Sqlite
請幫我這麼做。 謝謝。
是否有可能在textview中顯示一個sqlite值?我已經在tableviewcontroller,但我不能夠顯示相同的文本視圖。 appdelegate.biblearray是容納sqldata的數組。我在另一個模塊中有同樣的問題。請查看此鏈接的問題[這裏是鏈接]:How to show sqlite datas in a textview?在textview中的Sqlite
請幫我這麼做。 謝謝。
而不是做
bible *jesus = (bible *)[appDelegate.biblearray objectAtIndex:indexPath.row];
使用字符串變量或該biblearray值的類型包含
NSString *str = [appDelegate.biblearray objectAtIndex:indexPath.row];
僅在TextView的顯示,你不需要使用類對象的耶穌。
但它顯示未聲明的索引路徑。 – ICoder
但我們必須把它放在viewdidload方法來顯示它ijn textview,bez用戶必須閱讀它,當頁面打開 – ICoder
任何解決方案嗎? – ICoder