A practical guide to using UIWebViews in RubyMotion for iOS development. Covers loading remote URLs, displaying locally stored HTML files, customizing web view behavior (disabling scroll), and enabling two-way communication between HTML/JavaScript and native Ruby code via UIWebViewDelegate and custom URL protocols. Includes a security note about validating messages received from web views.

6m read timeFrom marcgg.com
Post cover image
Table of contents
Our ObjectivePrerequisitesSetting up the AppDelegateOpening A Given URLOpening A Local FileCustomize The UIWebViewJavascript CommunicationA Quick Security NoteHurray !

Sort: