简体   繁体   中英

Translate from Objective-C to Swift (TestFlight)

Does anybody know how to translate from Objective-C to Swift from this line from TestFlight? I am trying to figure out how to translate it. Any suggestion appreciated.

//Objective-C
[TestFlight setOptions:@{ @"TFOptionDisableInAppUpdates" : @YES }];

//Swift
TestFlight.setOptions.........

without xcode / trying it

swift would be:
TestFlight.setOptions( ["TFOptionDisableInAppUpdates": true] )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM