Watch Connectivity | How to use Apple’s sample code

Watch Connectivity is a framework that implements two-way communication between an iOS app and its paired watchOS app. Watch ConnectivityImplementing Two-Way Communication Using Watch ConnectivityThis is a sample code for Watch Connectivity provided by Apple. There are many communication methods for different purposes, and this is a project where you can experience them.It has a lot of functions, and it is difficult to grasp.This article describes how to prepare and use the sample code. Preparation As you can see on the sample code page, some preparation is required to run it. TARGETS > General pane> update the Bundle Identifier filed with a new identifier. Signing & Capabilities pane> Team drop-down menu> … Read more