iphone web app - iOS External Accessory Framework from web app -


i'm being called upon build web app interfaces iphone accessory. see native apps use externalaccessory.framework access accessory, far i'm seeing no indication framework in way exposed web apps. possible (and if so, entry point), or need build native?

what you're going have use native app layer of communication between ios accessory , web server. in other words you're going have intercept of responses web server , translate accessory via native objective-c. if write native app viewcontroller uiwebviewcontroller , either have web server bake in command payloads in response messages or gruelingly parse html embedded commands can pull off. company uses 3rd party accessory in manner , while it's not pretty works. mean "not pretty" in sense commands static per app build , underlying handling of accessory. luck!

quick edit: depending on how re-usable want make interfacing accessory create framework commands baked in. way when need alter or expand command/control schema have change framework (yes, require build). allow adopt same control across multiple apps in fast manner.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -