Ionic view + Swift view demo iOS project published

As a quickie demo, I’ve added this project to by GitHub – Ionic and Swift Hybrid Demo iOS Xcode Project

I’ve published this becuase it is a concise demo of the following scenario:

  • You have an iOS app written in Swift
  • You want to specify one view in the otherwise vanilla Swift + Xcode storyboard app to be controlled by an Ionic TypeScript + Angular app
  • You want to be able to freely navigate between the swift view(s) and the Ionic v4-based view (becuse of couse you’d want navigation to work within the app and appear seamless)

I couldn’t find any existing guides covering this particular scenario but its a pretty compelling use-case for teams wanting to create mobile apps that leverage a hybrid webview in an existing native codebase.

It uses Ionic Capacitor to leverage some UINavigation native API hooks to be called within the Ionic Angular App

Codable screenshot

Jeremy Collins

Jeremy Collins
I'm a Software Engineer, most interested in developing attractive, fast, component-based progressive webapps. I also tinker with mobile app development for fun.