Thursday, January 14, 2016

Facebook SDK and Swift - Get Facebook SDK Version

To show the Facebook SDK version for iOS, follow these steps:

1. Include the Facebook SDK for iOS into an Xcode project:

See this tutorial: Facebook SDK and Swift - Create a Facebook Login Button

2. Add this line:


print("Facebook SDK Version:\(FBSDK_VERSION_STRING)")

3. Result:


Facebook SDK Version:4.9.0

References:
Facebook SDK for iOS Changelog (SDK Version History)
Facebook SDK and Swift - Create a Facebook Login Button

No comments:

Post a Comment