Open josete89 opened 9 years ago
+1
did you resolve this problem?can you give me some suggest,thank you
Yes, I resolved releasing the photo and implementing this
I tried your code. But it gives me No known instance method for selector purgeAllUnassignedFramebuffers and No known class method for selector sharedFramebufferCache error. How can I do this ?
I use purgeAllUnassignedFramebuffers, but it seems not release memory...
You wrapped the method [_stillCamera capturePhotoAsJPEGProcessedUpToFilter:_filter withCompletionHandler] with @autorelasepool ?
This code cause memory leaks when take 3 or 4 photos :
-(void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.
}
-(void)takePhoto{
}