Mobile applications help business services ensure a continuous interaction with customers and enable customers to access their services anytime, from any location. But when availability issues strike, the user experience is often hampered. By providing timely updates regarding the outage or the recovery process, customers are kept in the loop thereby making the process transparent.
With a public status page, like StatusIQ, you can post real-time updates to keep your customers updated on your active incidents or scheduled maintenance, publish postmortem reports, and more. Integrate your mobile applications with StatusIQ and help users track service status updates.
The StatusIQ iOS SDK (StatusIQFramework) is a free module for StatusIQ. The perk is that you can integrate the StatusIQ iOS SDK with your business's mobile iOS app and showcase the service's availability. We've created a Status iOS Pod which contains the StatusIQ iOS framework. Businesses using the StatusIQ product can now integrate the Status iOS Pod in their business apps to showcase their real-time service status to clients. The integration is supported for the dark theme and provides various customization options, like changing the font, color customization, and navigation.
Follow these steps to integrate the StatusIQ iOS pod into your business app:
-
Open your business app in Xcode.
-
Add the repository source URL and pod name with your respective target to the pod file. For instance, pod 'StatusIQ', :source=> https://github.com/site24x7/StatusIQ-iOS-SDK.git
-
After adding the pod, navigate to the StatusIQInfo.plist file and under Status page url, provide your StatusIQ public page URL that you would like to showcase in the business app. If you wish to list the components you have on your StatusIQ page as your components in the business app, then, in the .plist file, set Show Component status alone to True. Provide the component of your preference in the field Component Name.
-
Based on the requirements of your business app, you can add the Tap button wherever required to showcase the status.
-
After adding the Tap button, you can import the StatusIQ Framework and implement the code below into the Tap button code definition.
let statusIQVC = StatusIQServiceStatus.sdkInit()
self.present(statusIQVC, animated: true, completion: nil)
Screens are available in both light and dark modes for enhanced visibility.
You can customize the StatusIQ Framework UI/UX to suit your application theme. To customize, open the StatusIQ Framework in Xcode and find the class StatusIQCustomization, which provides methods to change the theme of the StatusIQ Framework.
Use the following method to set the desired background color that is already used in your app. The method argument to pass the desired color is the UIColor value:
Use the following method to change the background color of the Navigation Bar. The method argument to pass the desired UIColor value is:
Use the following method to set the desired font style that is already used in your app. The method argument to pass the font name is the String type:
Font name = Trebuchet MS
Background color = UIColor.white
Navigation Bar color = UIColor.gray