ios - IBInspectable & watchkit -
can use ibinspectable @ watchkit ? when mark string ibinspectable, can see , set @ relevant watchkit app storyboard, when set it, nothing.
you can't, because watchkit interface objects instead of views. apple intentionally uses different terms them because fundamentally different things.
interface objects proxy objects actual views in actual watch app (not watchkit extension). communicate through watchkit via bluetooth manipulate corresponding properties of actual views on watch display.
when set text of wkinterfacelabel, record change want make, send changes other changes in run loop watch batch. watch os take information proxy objects , change text on uilabel on watch.
therefore, ibdesignable , ibinspectable won't work here. although represented in similar way in interface builder, different things.
Comments
Post a Comment