This guide includes client-side set up information for iOS. The EC is implemented into your iOS app using frameworks that are already part of the Swift programming language.
You can see the results of installing the Enforcement Challenge on iOS in this screen capture recording of the example project.
Client-side Setup for iOS
Xcode Environment Setup
For this example, you will need to create a directory within your application called Web_Assets. The code in this example is looking for an HTML document called index.html in that directory.
The index.html document must contain the client side EC code which enables the EC to render properly within the WebView. The following code is an example of what index.html must contain to invoke a basic EC. In this example, replace "YOUR_PUBLIC_KEY_GOES_HERE" with the Public Key provided by Arkose Labs.