iOS Native
Learn how to
Add iOS Viewer library to your project
Connect to the server, open iOS viewer, and load an e-Form in your storyboard.
Trigger the e-Form submit button from an action button
Preparations
Required skills/experiences
iOS native App development experience with Xcode
XCode
Here we use Xcode ver. 12.1
OZ products
e-Form Server installed on the WAS server
iOS Viewer library
Download ozrv80_ios_version.number.tar.gz from 👉 Product Downloads
Sample project
Create a new iOS App project ("app") with Objective-C and Storyboard.
Add iOS viewer library to the project
Create a folder (ex: ozviewer) under your project folder.
Add the license file to ozviewer (Your instructor will provide the license file).
Copy custom_ui and Framework folder into ozviewer from extracted files.
Remove the Device folder from Framework (We will run the app on the simulator).
If you want to run the app on your device, remove the Framework folder.
Remove the optional folder from Simulator ( We don't need optional features for now).
Right-click your project folder > Add Files to "app" > select the ozviewer folder > Add
Right-click the target, go to the Build Phases tab, and add more libraries and frameworks:
libc++.tbd libxml2.tbd libiconv.tbd UIKit.framework Foundation.framework CoreText.framework CoreGraphics.framework
And in the Copy Files, add the OZRViewer.framework.
Storyboard
Add a view for OZ viewer
Add a button for Submit
ViewController.h
ViewerController.m
Info.plist
App Transport Security Settings > Allow Arbitrary Loads > YES
Run the app
Last updated
Was this helpful?