Open Thamizhan opened 9 years ago
Hi, I have used the MotionJPEGImageView inside the UITableViewCell to use in UITableView,
After I close the UITableViewController, the images are still loading. how to overcome this Issues
Here is the Code I used for cellForItemAtIndexPath
UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:cellIdentifier forIndexPath:indexPath]; ZmCamera *curCam = [self.server.cameras objectAtIndex:indexPath.row]; MotionJpegImageView *mjpegView = (MotionJpegImageView *)[cell viewWithTag:44]; mjpegView.contentMode = UIViewContentModeScaleToFill; UILabel *label = (UILabel *)[cell viewWithTag:88]; [mjpegView stop]; mjpegView.url = [self buildLiveViewURLwithCameraId:curCam.Id]; [mjpegView play]; label.text = [NSString stringWithFormat:@"%@", curCam.name]; mjpegView.layer.borderColor = [UIColor blueColor].CGColor; mjpegView.layer.borderWidth = (indexPath.row == self.position) ? 2.0 : 0; return cell;
I have same problem problem
Hi, I have used the MotionJPEGImageView inside the UITableViewCell to use in UITableView,
After I close the UITableViewController, the images are still loading. how to overcome this Issues
Here is the Code I used for cellForItemAtIndexPath