Lingering fix from #68
This commit is contained in:
parent
3fb44f2778
commit
b3d6be156e
|
@ -92,9 +92,9 @@
|
|||
|
||||
- (void)removeFromSuperview
|
||||
{
|
||||
[self.manager stopSession];
|
||||
[super removeFromSuperview];
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIDeviceOrientationDidChangeNotification object:nil];
|
||||
[self.manager stopSession];
|
||||
}
|
||||
|
||||
- (void)orientationChanged:(NSNotification *)notification{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"type" : "git",
|
||||
"url" : "https://github.com/lwansbrough/react-native-camera.git"
|
||||
},
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"description": "A Camera component for React Native. Also reads barcodes.",
|
||||
"main": "Camera.ios.js",
|
||||
"author": "Lochlan Wansbrough <lochie@live.com> (http://lwansbrough.com)",
|
||||
|
|
Loading…
Reference in New Issue