I have an iOS app that dynamically draw shapes on UIView (through drawRect), and I am looking at the possibility to port that app (or a small part of that) to Apple Watch. Unfortunately, after read through relative posts I cannot find which class can handle the similar job in WatchKit.
So the question is:
If there is a similar class like UIView, in WatchKit, to draw lines cycles on Apple Watch?
What is the best (possible) way to implement a simple drawing function on Apple Watch, if there is no UIView like class. (Assume this is achievable)
Thanks in advance.
UIView
in WatchKitWKInterfaceImage
's func setImage(image: UIImage?)
-drawRect:
, it shouldn't be that difficult to modify it to support drawing to imageCollected from the Internet
Please contact [email protected] to delete if infringement.
Comments