Skip to content

tcobbs-bentley/mobile-sdk-samples-camera

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iTwin mobile-samples

Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

Warning

This is pre-release software and provided as-is.

About this Repository

This repository contains sample iOS apps based on iTwin/mobile-samples that add native camera and photo library functionality.

There are two sample apps, MobileStarter and SwiftUIStarter. The former is a UIKit app, and the later is a SwiftUI app. Both contain a full-screen WKWebView to host the iTwin content, and make use of the same TypeScript code running inside that WKWebView.

Each sample app includes an Xcode project with a LocalSDK_ prefix. These Xcode projects are the same as the main ones, with the exception that they refer to a local filesystem copy of mobile-sdk-ios, instead of referring to the mobile-sdk-ios Swift Package on GitHub.

See iOS/README.md for instructions on building the iOS samples.

See Android/README.md for instructions on building the Android samples.

See OFFLINE.md for information about using iModels while offline.

Sample iModels

The Snapshot iModels directory contains sample snapshot iModels that can be copied into the app on the device. Right now, there is only one sample: Building Blocks.bim. On a Windows PC, you can use iTunes to copy the file, and on a Mac you can use Finder. Once it has been copied to the app on the device, it will show up in the Snapshot iModels screen of the app. If you are already on that screen while you copy the file, hit the refresh button in the upper right to refresh the list.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 57.7%
  • Swift 25.5%
  • SCSS 6.9%
  • Kotlin 5.4%
  • Shell 2.0%
  • JavaScript 1.5%
  • Other 1.0%