如何以编程方式获取Fabric/Crashlytics框架版本?

How to programmatically obtain Fabric/Crashlytics framework version?

是否可以通过编程方式获取 Crashlytics/Fabric 的已安装版本?如果可以,怎么做?

是;见 Crashlytics.h:

@interface Crashlytics : NSObject

@property (nonatomic, readonly, copy) NSString *APIKey;
@property (nonatomic, readonly, copy) NSString *version;     // !!!!!
@property (nonatomic, assign)         BOOL      debugMode;

...

那就是:

NSLog(@"Using Crashlytics version %@", [[Crashlytics sharedInstance] version]);