react-native-bootsplash 4.7.0 → 4.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,6 +97,10 @@ RCT_EXPORT_MODULE();
97
97
  UIStoryboard *storyboard = [UIStoryboard storyboardWithName:storyboardName bundle:nil];
98
98
 
99
99
  _loadingView = [[storyboard instantiateInitialViewController] view];
100
+
101
+ _loadingView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
102
+ _loadingView.frame = _rootView.bounds;
103
+ _loadingView.center = (CGPoint){CGRectGetMidX(_rootView.bounds), CGRectGetMidY(_rootView.bounds)};
100
104
  _loadingView.hidden = NO;
101
105
 
102
106
  [_rootView addSubview:_loadingView];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-bootsplash",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
4
4
  "license": "MIT",
5
5
  "description": "Display a bootsplash on your app starts. Hide it when you want.",
6
6
  "author": "Mathieu Acthernoene <zoontek@gmail.com>",