Closed GoogleCodeExporter closed 8 years ago
Version which is shared here doesn't free memory on release.
There are many causes of such behavior.
If you still need this, i can try extract fixes from my code.
Original comment by sots...@novatv.ru
on 28 Jun 2011 at 8:16
[deleted comment]
Can you please post the code without the memory issues
Original comment by aparnama...@gmail.com
on 20 Sep 2011 at 12:07
Here it is. Sorry for delay.
Here is how i initialize it
- (void)loadView{
UIView *rootView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
plView = [[PLView alloc] initWithFrame:CGRectMake(0, 0, 1024, 768)];
plView.backgroundColor = [UIColor blackColor];
plView.isDeviceOrientationEnabled = NO;
plView.isAccelerometerEnabled = NO;
plView.isInertiaEnabled = NO;
plView.inertiaInterval = 0.1;
plView.camera.isReverseRotation = YES;
plView.type = PLViewTypeCylindrical;
plView.camera.pitchRange = PLRangeMake ([[panoramaArray objectAtIndex:1] intValue], [[panoramaArray objectAtIndex:2] intValue]);
[plView addTextureAndRelease:[PLTexture textureWithPath:[[NSBundle mainBundle]
pathForResource:[[panoramaArray objectAtIndex:0] stringByDeletingPathExtension]
ofType:[[panoramaArray objectAtIndex:0] pathExtension]]]];
plView.renderer.perspective = 270.0f;
[rootView addSubview:plView];
[panoramaArray release];
self.view = rootView;
[rootView release];
}
Original comment by sots...@novatv.ru
on 21 Jan 2012 at 9:54
Here is right attach
Original comment by sots...@novatv.ru
on 21 Jan 2012 at 9:56
Attachments:
[deleted comment]
Please check the last version 0.1, a lot of memory leaks were fixed.
Original comment by javbae...@gmail.com
on 5 Jul 2012 at 3:54
Original issue reported on code.google.com by
luosiqia...@gmail.com
on 21 Mar 2011 at 7:13Attachments: