Version 3.7 of Facebook’s software-development kit for iOS is now available for download, with significant enhancements including a beta test of automatic error handling and an improved login user interface.
The social network said in a post on its developer blog that its aim with automatic error handling is to eliminate the need for developers to write explicit error handling logic, adding that tests of the new UI showed that it led to better conversion rates.
Following are more details from the blog post:
One of the keys to building a stable and reliable application is making sure that it responds properly to errors. Until now, the SDK helped by providing mechanisms for identifying errors through tools like FBErrorUtility, but you still had to write explicit error handling logic. We’re now making it even easier to handle certain error conditions such as password changes and expired tokens by automatically enabling:
- Retrying: The SDK will automatically retry the request when possible.
- Alerts: When an error happens, the SDK will surface an alert view with an appropriate message if available, taking into account localization.
- Reconnecting: The SDK will prompt the user to log in again if the session has been invalidated due to a password change or an expired token.
The updated Facebook login UI not only looks better, but also, our tests show it converts at a higher rate. We’ve refreshed the design in the FBLoginView control and changed the default text to read, “Log in with Facebook.” Your apps gain the benefit of the resigned UI without any code changes, and you can still override the default text via localization.
iOS developers: Are these new features helpful?