diff --git a/ios/Campus.xcodeproj/project.pbxproj b/ios/Campus.xcodeproj/project.pbxproj index 936dd93..f75cf4b 100644 --- a/ios/Campus.xcodeproj/project.pbxproj +++ b/ios/Campus.xcodeproj/project.pbxproj @@ -274,7 +274,7 @@ CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 4; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = 6JA7CLNUV6; INFOPLIST_FILE = Campus/Info.plist; @@ -300,7 +300,7 @@ CODE_SIGN_ENTITLEMENTS = Campus/application.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 4; DEVELOPMENT_TEAM = 6JA7CLNUV6; INFOPLIST_FILE = Campus/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; diff --git a/ios/Campus/AppDelegate.m b/ios/Campus/AppDelegate.m index b7481af..bb692dd 100644 --- a/ios/Campus/AppDelegate.m +++ b/ios/Campus/AppDelegate.m @@ -15,6 +15,7 @@ #import #import +#import "RNSplashScreen.h" @implementation AppDelegate @@ -43,7 +44,7 @@ [self.window makeKeyAndVisible]; [super application:application didFinishLaunchingWithOptions:launchOptions]; - + [RNSplashScreen show]; return YES; } diff --git a/ios/Campus/Base.lproj/LaunchScreen.xib b/ios/Campus/Base.lproj/LaunchScreen.xib index fdd3c69..7505051 100644 --- a/ios/Campus/Base.lproj/LaunchScreen.xib +++ b/ios/Campus/Base.lproj/LaunchScreen.xib @@ -1,6 +1,6 @@ - + @@ -10,34 +10,26 @@ - + - - + + + - + - - - - - - + + + + - - + + + + + diff --git a/ios/Campus/Images.xcassets/LaunchScreen.imageset/Contents.json b/ios/Campus/Images.xcassets/LaunchScreen.imageset/Contents.json new file mode 100644 index 0000000..84c528a --- /dev/null +++ b/ios/Campus/Images.xcassets/LaunchScreen.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "splash.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Campus/Images.xcassets/LaunchScreen.imageset/splash.png b/ios/Campus/Images.xcassets/LaunchScreen.imageset/splash.png new file mode 100644 index 0000000..7629d1a Binary files /dev/null and b/ios/Campus/Images.xcassets/LaunchScreen.imageset/splash.png differ diff --git a/ios/Campus/Info.plist b/ios/Campus/Info.plist index aead101..0433652 100644 --- a/ios/Campus/Info.plist +++ b/ios/Campus/Info.plist @@ -42,7 +42,7 @@ NSAppTransportSecurity NSAllowsArbitraryLoads - + NSExceptionDomains localhost