/Html5HybridIOS

Simple hybrid Template with html5 on UIWebView and native navigation. Javascript & ObjC communication.

Primary LanguageObjective-C

Html5HybridIOS

Simple hybrid Template with html5 on UIWebView and native.

Alt text

This is a simple implementation of UITableView layout in html. There are few tricks i learned in css and has been implemented:

  • Single line text
  • Ellipsis(...) for long texts
  • User Selection disabled on link
  • User Selection action(actionsheet with copy & save options) disabled on link
  • Gradients

Implementaion of communication between javascript and native Objective-c is been done using WebViewJavascriptBridge

  • Pushing Native ViewController to Navigation stack from Javascript Call

NOTE: Please make sure your all javascript files is moved from "compile sources" to "Copy bundle resources". This is required for your jquery and js files to work on your xcode. Alt text