ios - Can an Apple Watch app have multiple glances? -


the question simple as:

can apple watch app have multiple glances?

i tried put multiple glances in xcode storyboard xcode said 1 glance allowed each app.

reason asking change layout of glance based on information display.


but question phrased as:

is possible to

  • change glance layout programmatically or
  • load different glances depending on context.

is of 2 possible? , if not, there indication may change after wwdc 2015?


edit:

to clarify. agree, multiple glances seem not available, changing layout of glance may be (i think allow developers far concerned @ moment way can change glance layout choose list provided in xcode).

currently these layouts available glances (top , bottom part). ideally i'd choose them programmatically. if knows how please share code snippet/sample:

top part:

enter image description here

bottom part:

enter image description here

an app can have 1 glance associated it. can modified time time per requirement.

awakewithcontext() called once controller. can general init work there.

willactivate() called everytime glance controller initialised , can request new data, change view there, other awesome work, etc.

so answer question, can load different glances depending on context. app can have 1 glance @ time.

hope helped.


Comments