The library source code on GitHub repo ships with two example apps, for iOS and macOS platforms, which demonstrate the use of this API.
- Checkout the source code from GitHub repo.
- Open the
iOS-Example.xcodeproj
for the iOS example app. - Open the
OSX-Example.xcodeproj
for the macOS example app. - Clean, Build in XCode.
This example app has Application supports iTunes file sharing
property enabled in it's plist
file, which allows you to use iTunes to upload your 3D models to your device.
Once you have uploaded the 3D models, you can view the models as such.
You can pick the model to view. You can also skip picking a model and navigate to picking only a 3D skeletal animation.
You can pick a 3D animation in this step. You can skip this step if you just want to view the 3D model selected in step 1.
Based on your selection, you can view only the model, the skeletal animation or both.
This example app allows you to select the 3D model and animation files using the file picker.
You can pick the model to view. You can also skip picking a model and instead pick only a 3D skeletal animation.
You can pick a 3D animation in this step. You can skip this step if you just want to view the 3D model selected in step 1.
Based on your selection, you can view only the model, the skeletal animation or both.