Skip to content

Commit 33ea840

Browse files
committed
RRFPSBar - bugfix
1 parent 17bd84e commit 33ea840

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Coding_iOS/AppDelegate.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ - (void)registerUserAgent{
6767
NSString *userAgent = [NSString userAgentStr];
6868
NSDictionary *dictionary = @{@"UserAgent" : userAgent};//User-Agent
6969
[[NSUserDefaults standardUserDefaults] registerDefaults:dictionary];
70-
71-
72-
// @available(iOS 10.0, *);
73-
74-
// [UIColor colorNamed:@""]
7570
}
7671

7772
#pragma lifeCycle

Coding_iOS/Coding_Enterprise_iOS-Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
8-
<string>CODING 企业版</string>
8+
<string>企业 CODING</string>
99
<key>CFBundleExecutable</key>
1010
<string>${EXECUTABLE_NAME}</string>
1111
<key>CFBundleIdentifier</key>
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>2.9</string>
20+
<string>2.9.5</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleURLTypes</key>
@@ -28,7 +28,7 @@
2828
</dict>
2929
</array>
3030
<key>CFBundleVersion</key>
31-
<string>2.9.201805251720</string>
31+
<string>2.9.5.201806190930</string>
3232
<key>ITSAppUsesNonExemptEncryption</key>
3333
<false/>
3434
<key>LSApplicationQueriesSchemes</key>

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</dict>
3838
</array>
3939
<key>CFBundleVersion</key>
40-
<string>5.4.201806041200</string>
40+
<string>5.4.201806151800</string>
4141
<key>ITSAppUsesNonExemptEncryption</key>
4242
<false/>
4343
<key>LSApplicationQueriesSchemes</key>

Coding_iOS/Vendor/RRFPSBar/RRFPSBar.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ - (void)dealloc {
5959

6060

6161
- (id)init {
62-
if( (self = [super initWithFrame:[[UIApplication sharedApplication] statusBarFrame]]) ){
62+
CGRect frame = [[UIApplication sharedApplication] statusBarFrame];
63+
if (frame.size.width < 1.0) {
64+
frame = [UIScreen mainScreen].bounds;
65+
frame.size.height = 20;
66+
}
67+
if( (self = [super initWithFrame:frame]) ){
6368

6469
_maxHistoryDTLength = (NSInteger)CGRectGetWidth(self.bounds);
6570
_historyDT = malloc(sizeof(CFTimeInterval) * _maxHistoryDTLength);

0 commit comments

Comments
 (0)