Apple Health Frameworks

Nov 29 2022 Swift 5, iOS 15, Xcode 13

Part 3: Take Advantage of CareKit & ResearchKit

17. Make a Contact Page

Episode complete

Play next episode

Next
Save for later
About this episode
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 16. Save Body Temperature Using HealthKit Next episode: 18. Take a Deep Look Into the CareKit

This video Make a Contact Page was last updated on Nov 29 2022

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a kodeco.com Professional subscription.

Part 3, Episode 17, Use CareKit to make a contact page

In this episode, I want to show you how to use another feature from CareKit, which allows you to have a contact page inside your app for quick access if your user needs to contact you.

    makeContacts()
    let contactViewController  = OCKListViewController()
    contactViewController.appendViewController(OCKDetailedContactViewController(contactID: "contact.emad", storeManager: storeManager), animated: false)
    contactViewController.title = "Contact"
    contactViewController.tabBarItem = UITabBarItem(
      title: "Contact",
      image: UIImage(systemName: "list.bullet"),
      tag: 1
    )
    let contactTab = UINavigationController(rootViewController: contactViewController)
    rootController.setViewControllers([planTab, overviewTab, contactTab], animated: false)