Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 我可以在JSQMessageViewController单元格中为textView.text使用NSAttribute字符串吗?_Ios_Jsqmessagesviewcontroller - Fatal编程技术网

Ios 我可以在JSQMessageViewController单元格中为textView.text使用NSAttribute字符串吗?

Ios 我可以在JSQMessageViewController单元格中为textView.text使用NSAttribute字符串吗?,ios,jsqmessagesviewcontroller,Ios,Jsqmessagesviewcontroller,我需要使用NSAttributedString来设置cell.textView.attributedText,而不是使用NSString来设置cell.textView.text。这在目前看来是不可能的。想法?哎呀。我说得太快了。我看我是不是把这个放进去了: - (UICollectionViewCell *)collectionView:(JSQMessagesCollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath

我需要使用NSAttributedString来设置cell.textView.attributedText,而不是使用NSString来设置cell.textView.text。这在目前看来是不可能的。想法?

哎呀。我说得太快了。我看我是不是把这个放进去了:

- (UICollectionViewCell *)collectionView:(JSQMessagesCollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
我会得到我想要的