ios - Can I create a WatchKit app without a storyboard (entirely in code)? -
my team working on ios application in don't use storyboards @ all. create ui in code instead. consistency's sake great if create watch app target entirely in code.
however, both "getting started watchkit" video , watchkit framework reference mention need storyboard watch app target. furthermore, in wkinterfaceobject.h
init
method marked unavailable:
- (instancetype)init ns_unavailable;
so impossible create watch app without using storyboards? if so, reasons behind decision? mean, can create iphone / ipad app entirely in code, why different watch?
if read watchkit programming guide see app executing on user's iphone , app sends information displayed watch watchkit.
as there none of code executing on watch itself, can't perform programmatic layout - watchkit uses storyboard provide layout , render information provided app running on iphone.
apple has said possible develop native watch applications in future, may possible then.
Comments
Post a Comment