It’s not a battle to the death.Reframing the DebateIt’s about using the right tool for the right job.
Advantages of HTMLExpress high-level design concepts with declarative markupTons of control over presentation: gradients, shadows,transparency, animation, rich textVendor-neutral open standards enable widespread support andbroad portabilityEasy to learn and use—can tap into existing expertiseEase of rapid prototyping lets you get great stuff working quickly•••••
Disadvantages of HTMLLack of consistency between rendering enginesDifficult to get optimal performance and acceptably responsive userinterfaceLack of native controls means that you can’t match the platform’snative look and feelNo access to platform-specific functionalityHTML rendering engines confine you to a lowest-common-denominator user experience•••••
Give them the high-quality native app that they deserve!Your users expect better.This is kind of what it’s like for users when amobile developer ships a non-native app:
Advantages of Native DevelopmentAccess the full range of rich device capabilities andnative platform featuresNative controls supplied by the platform are tailoredfor ideal performance and benefit from platform-leveloptimizations and hardware accelerationNative code gives you a lot more room for optimizationand parallelizationPerfectly conform with the standard user interfaceconventions of the underlying platform••••
Hybrid AdvantagesDecide which parts of your appshould be HTML or nativeExpose device capabilities and nativeplatform features to your HTMLcontentEasy to transition to fully nativeapplication if you reach the limits ofHTML•••
Displaying HTML Content in Native AppsAn HTML view can be a highly effective tool for displayingrich content in native applicationsIdeal for use in scenarios where you need complex formattingand want to intersperse graphicsWith responsive design techniques, content can be made toseamlessly adapt to different screen sizes and orientationsRazor templating engine can be used in native applications togenerate HTML content that incorporates relevant data••••
A simple Pokédex application built with Xamarin.iOSDEMO: Razordex
No ferrets were harmed in the makingof this app.
There are several ways to enable interaction between the native partof your application and the HTML view.Hybrid Communication Techniques