modify ATS setting for example test
This commit is contained in:
Родитель
65d9924aa7
Коммит
c2165262b4
|
@ -18,10 +18,5 @@
|
|||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -315,7 +315,6 @@ typedef void(^PORequestCompletionBlock)(NSURLResponse *response, id responseObje
|
|||
}
|
||||
|
||||
- (NSURLSessionDataTask *)listPersonGroupsWithStart:(NSString*)start top:(NSInteger)top completionBlock:(MPOPersonGroupArrayCompletionBlock)completion {
|
||||
top = top > 1000 ? 1000 : top;
|
||||
NSString * url = [NSString stringWithFormat:@"persongroups?top=%d", top];
|
||||
if (start != nil) {
|
||||
url = [url stringByAppendingString:[NSString stringWithFormat:@"&start=%@", start]];
|
||||
|
|
Загрузка…
Ссылка в новой задаче