| 
				
			 | 
			
			
				@@ -28,7 +28,9 @@ const NSInteger TOP_BAR_TRANSPARENT_TAG = 78264803; 
			 | 
		
	
		
			
			| 
				28
			 | 
			
				28
			 | 
			
			
				 	self.topBar = [[RNNTopBarOptions alloc] initWithDict:[navigationOptions objectForKey:@"topBar"]]; 
			 | 
		
	
		
			
			| 
				29
			 | 
			
				29
			 | 
			
			
				 	self.bottomTabs = [[RNNTabBarOptions alloc] initWithDict:[navigationOptions objectForKey:@"bottomTabs"]]; 
			 | 
		
	
		
			
			| 
				30
			 | 
			
				30
			 | 
			
			
				 	self.sideMenu = [[RNNSideMenuOptions alloc] initWithDict:[navigationOptions objectForKey:@"sideMenu"]]; 
			 | 
		
	
		
			
			| 
				31
			 | 
			
				
			 | 
			
			
				-	 
			 | 
		
	
		
			
			| 
				
			 | 
			
				31
			 | 
			
			
				+	self.backgroundImage = [RCTConvert UIImage:[navigationOptions objectForKey:@"backgroundImage"]]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				32
			 | 
			
			
				+	self.rootBackgroundImage = [RCTConvert UIImage:[navigationOptions objectForKey:@"rootBackgroundImage"]]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				33
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				32
			 | 
			
				34
			 | 
			
			
				 	return self; 
			 | 
		
	
		
			
			| 
				33
			 | 
			
				35
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				34
			 | 
			
				36
			 | 
			
			
				  
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -257,6 +259,30 @@ const NSInteger TOP_BAR_TRANSPARENT_TAG = 78264803; 
			 | 
		
	
		
			
			| 
				257
			 | 
			
				259
			 | 
			
			
				 		 
			 | 
		
	
		
			
			| 
				258
			 | 
			
				260
			 | 
			
			
				 		[self.sideMenu resetOptions]; 
			 | 
		
	
		
			
			| 
				259
			 | 
			
				261
			 | 
			
			
				 	} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				262
			 | 
			
			
				+	 
			 | 
		
	
		
			
			| 
				
			 | 
			
				263
			 | 
			
			
				+	if (self.backgroundImage) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				264
			 | 
			
			
				+		UIImageView* backgroundImageView = (viewController.view.subviews.count > 0) ? viewController.view.subviews[0] : nil; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				265
			 | 
			
			
				+		if (![backgroundImageView isKindOfClass:[UIImageView class]]) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				266
			 | 
			
			
				+			backgroundImageView = [[UIImageView alloc] initWithFrame:viewController.view.bounds]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				267
			 | 
			
			
				+			[viewController.view insertSubview:backgroundImageView atIndex:0]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				268
			 | 
			
			
				+		} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				269
			 | 
			
			
				+		 
			 | 
		
	
		
			
			| 
				
			 | 
			
				270
			 | 
			
			
				+		backgroundImageView.layer.masksToBounds = YES; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				271
			 | 
			
			
				+		backgroundImageView.image = self.backgroundImage; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				272
			 | 
			
			
				+		[backgroundImageView setContentMode:UIViewContentModeScaleAspectFill]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				273
			 | 
			
			
				+	} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				274
			 | 
			
			
				+	 
			 | 
		
	
		
			
			| 
				
			 | 
			
				275
			 | 
			
			
				+	if (self.rootBackgroundImage) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				276
			 | 
			
			
				+		UIImageView* backgroundImageView = (viewController.navigationController.view.subviews.count > 0) ? viewController.navigationController.view.subviews[0] : nil; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				277
			 | 
			
			
				+		if (![backgroundImageView isKindOfClass:[UIImageView class]]) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				278
			 | 
			
			
				+			backgroundImageView = [[UIImageView alloc] initWithFrame:viewController.view.bounds]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				279
			 | 
			
			
				+			[viewController.navigationController.view insertSubview:backgroundImageView atIndex:0]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				280
			 | 
			
			
				+		} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				281
			 | 
			
			
				+		 
			 | 
		
	
		
			
			| 
				
			 | 
			
				282
			 | 
			
			
				+		backgroundImageView.layer.masksToBounds = YES; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				283
			 | 
			
			
				+		backgroundImageView.image = self.rootBackgroundImage; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				284
			 | 
			
			
				+		[backgroundImageView setContentMode:UIViewContentModeScaleAspectFill]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				285
			 | 
			
			
				+	} 
			 | 
		
	
		
			
			| 
				260
			 | 
			
				286
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				261
			 | 
			
				287
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				262
			 | 
			
				288
			 | 
			
			
				 - (UIInterfaceOrientationMask)supportedOrientations { 
			 |