Closed Dynami27 closed 7 years ago
You can implement your own view controller that you present in this delegate method of the OCKCareCardViewController:
Where would I implement the video portion if I have video in main bundle. Sorry new iOS dev here. thanks!
@Dynami27 You can present your own detail view controller for the activity in which you can use AVFoundation to play the video. When creating the activity, you can specify the videoURL in the userInfo dictionary for that activity.
Any ideas how to add video to Carekit? How would I display a video on the instructions portion of care card. There is an option to add a photo through imageURL using the OCKCarePlanActivity Class but not video. I also tried extending the OCKCarePlanActivity Class, but was not successful. Thank you!!