Skip to content

Commit 98ddaaa

Browse files
committed
* [ios] update Display Name (WeexPlayground)
1 parent 1cb8824 commit 98ddaaa

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

ios/playground/WeexDemo/AppDelegate.m

+5-6
Original file line numberDiff line numberDiff line change
@@ -85,20 +85,19 @@ - (void)initWeexSDK
8585

8686
[WXSDKEngine registerComponent:@"select" withClass:NSClassFromString(@"WXSelectComponent")];
8787
[WXSDKEngine registerModule:@"event" withClass:[WXEventModule class]];
88-
[self atAddPlugin];
8988

9089
#ifdef DEBUG
90+
[self atAddPlugin];
9191
[WXDebugTool setDebug:YES];
9292
[WXLog setLogLevel:WXLogLevelLog];
93+
94+
#ifndef UITEST
95+
[[ATManager shareInstance] show];
96+
#endif
9397
#else
9498
[WXDebugTool setDebug:NO];
9599
[WXLog setLogLevel:WXLogLevelError];
96100
#endif
97-
98-
#ifndef UITEST
99-
[[ATManager shareInstance] show];
100-
#endif
101-
102101
}
103102

104103
-(UIViewController *)demoController

ios/playground/WeexDemo/Info.plist

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>WeexPlayground</string>
79
<key>CFBundleExecutable</key>
810
<string>$(EXECUTABLE_NAME)</string>
911
<key>CFBundleIdentifier</key>
@@ -15,7 +17,7 @@
1517
<key>CFBundlePackageType</key>
1618
<string>APPL</string>
1719
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
20+
<string>1.1</string>
1921
<key>CFBundleSignature</key>
2022
<string>????</string>
2123
<key>CFBundleVersion</key>

ios/playground/WeexDemo/WXDemoViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ - (void)render
122122
};
123123

124124
_instance.renderFinish = ^(UIView *view) {
125-
NSLog(@"render finish");
125+
WXLogDebug(@"%@", @"Render Finish...");
126126
[weakSelf updateInstanceState:WeexInstanceAppear];
127127
};
128128

0 commit comments

Comments
 (0)