objective c - Find pixel size for WKInterfaceImage in WKInterfaceController -
i have wkinterfaceimage
in wkinterfacecontroller
, i'm generating uiimage
dynamically display in wkinterfaceimage
. how find maximum pixel dimensions can display in wkinterfacecontroller
image?
use wkinterfacedevice
's screenbounds
, screenscale
properties available screen size , scale.
combine knowledge of app's user interface determine correct image size. remember watchkit apps scroll vertically not horizontally.
Comments
Post a Comment