[英]navigational controller not passing data from tableview to viewcontroller
[英]Passing data between TableView and Viewcontroller
我試圖在UItableview之間傳遞數據到包含Tableview的UIViewController
您正在嘗試將NSArray
設置為PFImageView
_imageView.image=[_arrayimages copy];
您最好將UIImage
設置為_imageView.image
:)
一個例子:
if ([_arrayimages count] > 0) {
_imageView.image = [_arrayimages objectAtIndex:0];
}
就像您在cellForRowAtIndexPath
所做的一樣:
imageView.image=[self.arrayimages objectAtIndex:indexPath.row];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.