Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading even after closed the UITableViewController #8

Open
Thamizhan opened this issue Dec 26, 2014 · 1 comment
Open

Loading even after closed the UITableViewController #8

Thamizhan opened this issue Dec 26, 2014 · 1 comment

Comments

@Thamizhan
Copy link

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;
@syky27
Copy link

syky27 commented May 20, 2015

I have same problem problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants