Skip to content

Commit 53bcb76

Browse files
committed
应用图标AppIcon和启动图LaunchImage设置
1 parent b303701 commit 53bcb76

24 files changed

+179
-7
lines changed

NewsReader.xcodeproj/project.pbxproj

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/* Begin PBXBuildFile section */
1010
89E2C3AF1BC92518001C1D01 /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = 89E2C3AE1BC92518001C1D01 /* README.md */; };
11+
A491311F1BCA3C8E00511F97 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A491311D1BCA3C8E00511F97 /* LaunchScreen.storyboard */; settings = {ASSET_TAGS = (); }; };
12+
A49131201BCA3C8E00511F97 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A491311E1BCA3C8E00511F97 /* Main.storyboard */; settings = {ASSET_TAGS = (); }; };
1113
A4C75B991BC80C08004264AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A4C75B981BC80C08004264AA /* main.m */; };
1214
A4C75B9C1BC80C08004264AA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A4C75B9B1BC80C08004264AA /* AppDelegate.m */; };
1315
A4C75B9F1BC80C08004264AA /* HomeController.m in Sources */ = {isa = PBXBuildFile; fileRef = A4C75B9E1BC80C08004264AA /* HomeController.m */; };
@@ -16,6 +18,8 @@
1618

1719
/* Begin PBXFileReference section */
1820
89E2C3AE1BC92518001C1D01 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
21+
A491311D1BCA3C8E00511F97 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
22+
A491311E1BCA3C8E00511F97 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
1923
A4C75B941BC80C08004264AA /* NewsReader.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NewsReader.app; sourceTree = BUILT_PRODUCTS_DIR; };
2024
A4C75B981BC80C08004264AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
2125
A4C75B9A1BC80C08004264AA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@@ -42,9 +46,9 @@
4246
A4C75B8B1BC80C08004264AA = {
4347
isa = PBXGroup;
4448
children = (
45-
89E2C3AE1BC92518001C1D01 /* README.md */,
4649
A4C75B961BC80C08004264AA /* NewsReader */,
4750
A4C75B951BC80C08004264AA /* Products */,
51+
89E2C3AE1BC92518001C1D01 /* README.md */,
4852
);
4953
sourceTree = "<group>";
5054
};
@@ -95,6 +99,8 @@
9599
A4C75BAF1BC80C3C004264AA /* InterfaceBuilder */ = {
96100
isa = PBXGroup;
97101
children = (
102+
A491311D1BCA3C8E00511F97 /* LaunchScreen.storyboard */,
103+
A491311E1BCA3C8E00511F97 /* Main.storyboard */,
98104
);
99105
path = InterfaceBuilder;
100106
sourceTree = "<group>";
@@ -219,7 +225,9 @@
219225
isa = PBXResourcesBuildPhase;
220226
buildActionMask = 2147483647;
221227
files = (
228+
A49131201BCA3C8E00511F97 /* Main.storyboard in Resources */,
222229
A4C75BA41BC80C08004264AA /* Assets.xcassets in Resources */,
230+
A491311F1BCA3C8E00511F97 /* LaunchScreen.storyboard in Resources */,
223231
);
224232
runOnlyForDeploymentPostprocessing = 0;
225233
};
@@ -324,6 +332,7 @@
324332
isa = XCBuildConfiguration;
325333
buildSettings = {
326334
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
335+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
327336
GCC_PREFIX_HEADER = NewsReader/NewsReaderPrefixHeader.pch;
328337
INFOPLIST_FILE = NewsReader/Info.plist;
329338
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -336,6 +345,7 @@
336345
isa = XCBuildConfiguration;
337346
buildSettings = {
338347
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
348+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
339349
GCC_PREFIX_HEADER = NewsReader/NewsReaderPrefixHeader.pch;
340350
INFOPLIST_FILE = NewsReader/Info.plist;
341351
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -391,6 +401,7 @@
391401
isa = XCBuildConfiguration;
392402
buildSettings = {
393403
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
404+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
394405
GCC_PREFIX_HEADER = NewsReader/NewsReaderPrefixHeader.pch;
395406
INFOPLIST_FILE = NewsReader/Info.plist;
396407
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -446,6 +457,7 @@
446457
isa = XCBuildConfiguration;
447458
buildSettings = {
448459
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
460+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
449461
GCC_PREFIX_HEADER = NewsReader/NewsReaderPrefixHeader.pch;
450462
INFOPLIST_FILE = NewsReader/Info.plist;
451463
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -501,6 +513,7 @@
501513
isa = XCBuildConfiguration;
502514
buildSettings = {
503515
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
516+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
504517
GCC_PREFIX_HEADER = NewsReader/NewsReaderPrefixHeader.pch;
505518
INFOPLIST_FILE = NewsReader/Info.plist;
506519
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

NewsReader/Info.plist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25-
<key>UILaunchStoryboardName</key>
26-
<string>LaunchScreen</string>
2725
<key>UIMainStoryboardFile</key>
2826
<string>Main</string>
2927
<key>UIRequiredDeviceCapabilities</key>

0 commit comments

Comments
 (0)