Skip to content

Commit ed7907b

Browse files
committed
bugfix
1 parent 60911f8 commit ed7907b

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6588,6 +6588,9 @@
65886588
com.apple.Push = {
65896589
enabled = 1;
65906590
};
6591+
com.apple.SafariKeychain = {
6592+
enabled = 1;
6593+
};
65916594
};
65926595
};
65936596
};

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.6.5</string>
20+
<string>4.8</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>4.6.5.201710091430</string>
39+
<string>4.8.201711061200</string>
4040
<key>ITSAppUsesNonExemptEncryption</key>
4141
<false/>
4242
<key>LSApplicationQueriesSchemes</key>

Coding_iOS/Coding_iOS.entitlements

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@
44
<dict>
55
<key>aps-environment</key>
66
<string>development</string>
7+
<key>com.apple.developer.associated-domains</key>
8+
<array>
9+
<string>applinks:coding.net</string>
10+
</array>
711
</dict>
812
</plist>

Coding_iOS/Views/CodingShareView.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,11 @@ - (NSString *)p_shareText{
407407
}else{
408408
text = @"#Coding# 软件开发,云端协作";
409409
}
410+
NSInteger maxLength = 100;
411+
if (text.length > maxLength) {
412+
NSInteger location = maxLength - 3;
413+
text = [text stringByReplacingCharactersInRange:NSMakeRange(location, text.length - location) withString:@"..."];
414+
}
410415
return text;
411416
}
412417
- (NSString *)p_imageUrlSquare:(BOOL)needSquare{

0 commit comments

Comments
 (0)