diff --git a/Riot.xcodeproj/project.pbxproj b/Riot.xcodeproj/project.pbxproj index d48b2b42c..752c21b6f 100644 --- a/Riot.xcodeproj/project.pbxproj +++ b/Riot.xcodeproj/project.pbxproj @@ -7,6 +7,8 @@ objects = { /* Begin PBXBuildFile section */ + 325072141E8C0AC900A084B6 /* LaunchScreenLogo.png in Resources */ = {isa = PBXBuildFile; fileRef = 325072131E8C0AC900A084B6 /* LaunchScreenLogo.png */; }; + 325E1C151E8D03950018D91E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 325E1C131E8D03950018D91E /* LaunchScreen.storyboard */; }; E2EAC1A4FBD6FE5228584591 /* libPods-Riot.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7D8737F782E108CFD6908691 /* libPods-Riot.a */; }; F083BD1D1E7009ED00A9B29C /* RageShakeManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F083BB0B1E7009EC00A9B29C /* RageShakeManager.m */; }; F083BD1E1E7009ED00A9B29C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F083BB0D1E7009EC00A9B29C /* AppDelegate.m */; }; @@ -214,7 +216,6 @@ F083BDE81E7009ED00A9B29C /* message.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = F083BBDD1E7009EC00A9B29C /* message.mp3 */; }; F083BDE91E7009ED00A9B29C /* ring.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = F083BBDE1E7009EC00A9B29C /* ring.mp3 */; }; F083BDEA1E7009ED00A9B29C /* ringback.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = F083BBDF1E7009EC00A9B29C /* ringback.mp3 */; }; - F083BDEB1E7009ED00A9B29C /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = F083BBE01E7009EC00A9B29C /* LaunchScreen.xib */; }; F083BDEC1E7009ED00A9B29C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F083BBE21E7009EC00A9B29C /* Main.storyboard */; }; F083BDED1E7009ED00A9B29C /* MXKRoomBubbleTableViewCell+Riot.m in Sources */ = {isa = PBXBuildFile; fileRef = F083BBE61E7009EC00A9B29C /* MXKRoomBubbleTableViewCell+Riot.m */; }; F083BDEE1E7009ED00A9B29C /* MXRoom+Riot.m in Sources */ = {isa = PBXBuildFile; fileRef = F083BBE81E7009EC00A9B29C /* MXRoom+Riot.m */; }; @@ -413,6 +414,8 @@ /* Begin PBXFileReference section */ 1129C74A281B080432B1A1A1 /* Pods-Riot.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Riot.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Riot/Pods-Riot.debug.xcconfig"; sourceTree = ""; }; + 325072131E8C0AC900A084B6 /* LaunchScreenLogo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = LaunchScreenLogo.png; path = Assets/Images/LaunchScreenLogo.png; sourceTree = ""; }; + 325E1C141E8D03950018D91E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 7D8737F782E108CFD6908691 /* libPods-Riot.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Riot.a"; sourceTree = BUILT_PRODUCTS_DIR; }; F083BB031E7005FD00A9B29C /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F083BB041E7005FD00A9B29C /* RiotTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RiotTests.m; sourceTree = ""; }; @@ -624,7 +627,6 @@ F083BBDD1E7009EC00A9B29C /* message.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = message.mp3; sourceTree = ""; }; F083BBDE1E7009EC00A9B29C /* ring.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = ring.mp3; sourceTree = ""; }; F083BBDF1E7009EC00A9B29C /* ringback.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = ringback.mp3; sourceTree = ""; }; - F083BBE11E7009EC00A9B29C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; F083BBE31E7009EC00A9B29C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F083BBE51E7009EC00A9B29C /* MXKRoomBubbleTableViewCell+Riot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MXKRoomBubbleTableViewCell+Riot.h"; sourceTree = ""; }; F083BBE61E7009EC00A9B29C /* MXKRoomBubbleTableViewCell+Riot.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MXKRoomBubbleTableViewCell+Riot.m"; sourceTree = ""; }; @@ -986,8 +988,8 @@ F083BC571E7009EC00A9B29C /* Views */, F083BB0C1E7009EC00A9B29C /* AppDelegate.h */, F083BB0D1E7009EC00A9B29C /* AppDelegate.m */, - F083BBE01E7009EC00A9B29C /* LaunchScreen.xib */, F083BBE21E7009EC00A9B29C /* Main.storyboard */, + 325E1C131E8D03950018D91E /* LaunchScreen.storyboard */, F083BBEF1E7009EC00A9B29C /* Images.xcassets */, F083BC0D1E7009EC00A9B29C /* Riot.entitlements */, F083BEA41E700B2800A9B29C /* Supporting Files */, @@ -1695,6 +1697,7 @@ F083BEA41E700B2800A9B29C /* Supporting Files */ = { isa = PBXGroup; children = ( + 325072131E8C0AC900A084B6 /* LaunchScreenLogo.png */, F083BBED1E7009EC00A9B29C /* empty.mm */, F083BBEE1E7009EC00A9B29C /* GoogleService-Info.plist */, F083BBF01E7009EC00A9B29C /* Info.plist */, @@ -1897,6 +1900,7 @@ F083BE7B1E7009ED00A9B29C /* RoomInputToolbarView.xib in Resources */, F083BE751E7009ED00A9B29C /* RoomOutgoingTextMsgWithoutSenderNameBubbleCell.xib in Resources */, F083BD261E7009ED00A9B29C /* admin_icon@2x.png in Resources */, + 325072141E8C0AC900A084B6 /* LaunchScreenLogo.png in Resources */, F083BD761E7009ED00A9B29C /* e2e_verified@3x.png in Resources */, F083BE181E7009ED00A9B29C /* MediaPickerViewController.xib in Resources */, F083BDCE1E7009ED00A9B29C /* selection_untick.png in Resources */, @@ -1995,7 +1999,6 @@ F083BDBB1E7009ED00A9B29C /* remove_icon_pink@3x.png in Resources */, F083BD5C1E7009ED00A9B29C /* create_room.png in Resources */, F083BE871E7009ED00A9B29C /* RoomTableViewCell.xib in Resources */, - F083BDEB1E7009ED00A9B29C /* LaunchScreen.xib in Resources */, F083BD471E7009ED00A9B29C /* call_video_mute_off_icon@3x.png in Resources */, F083BD941E7009ED00A9B29C /* group@3x.png in Resources */, F083BD591E7009ED00A9B29C /* chevron.png in Resources */, @@ -2081,6 +2084,7 @@ F083BE471E7009ED00A9B29C /* RoomIncomingEncryptedTextMsgWithPaginationTitleBubbleCell.xib in Resources */, F083BDA01E7009ED00A9B29C /* mod_icon@3x.png in Resources */, F083BE491E7009ED00A9B29C /* RoomIncomingEncryptedTextMsgWithPaginationTitleWithoutSenderNameBubbleCell.xib in Resources */, + 325E1C151E8D03950018D91E /* LaunchScreen.storyboard in Resources */, F083BD721E7009ED00A9B29C /* e2e_unencrypted@2x.png in Resources */, F083BD531E7009ED00A9B29C /* camera_switch.png in Resources */, F083BD7C1E7009ED00A9B29C /* edit_icon@3x.png in Resources */, @@ -2293,6 +2297,14 @@ /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ + 325E1C131E8D03950018D91E /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 325E1C141E8D03950018D91E /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; F083BB0F1E7009EC00A9B29C /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( @@ -2317,14 +2329,6 @@ name = Vector.strings; sourceTree = ""; }; - F083BBE01E7009EC00A9B29C /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - F083BBE11E7009EC00A9B29C /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; F083BBE21E7009EC00A9B29C /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( diff --git a/Riot/Assets/Images/LaunchScreenLogo.png b/Riot/Assets/Images/LaunchScreenLogo.png new file mode 100644 index 000000000..cb2c334c2 Binary files /dev/null and b/Riot/Assets/Images/LaunchScreenLogo.png differ diff --git a/Riot/Base.lproj/LaunchScreen.storyboard b/Riot/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 000000000..a6ab40f15 --- /dev/null +++ b/Riot/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Riot/Base.lproj/LaunchScreen.xib b/Riot/Base.lproj/LaunchScreen.xib deleted file mode 100644 index 87d6a5695..000000000 --- a/Riot/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Riot/Info.plist b/Riot/Info.plist index 3bd8c4315..b0a9a351d 100644 --- a/Riot/Info.plist +++ b/Riot/Info.plist @@ -43,12 +43,12 @@ NSCameraUsageDescription The camera is used to take photos and videos, make video calls. - NSPhotoLibraryUsageDescription - The photo library is used to send photos and videos. - NSMicrophoneUsageDescription - The microphone is used to take videos, make calls. NSContactsUsageDescription The contact book is used to send room invitation to your contacts with their emails. + NSMicrophoneUsageDescription + The microphone is used to take videos, make calls. + NSPhotoLibraryUsageDescription + The photo library is used to send photos and videos. UIBackgroundModes audio