Search code examples
ioswatchkitapple-watchwatchos

How to Input secure text in Watch using WatchKit API?


In my application I want to activate and deactivate emergency and for that I have to input 4 digit PIN code. I want to keep it as a Secure Text (*) as we using in iOS. Is there any way to do so using WatchKit ?


Solution

  • I created one demo for secure text entry in Apple Watch to accomplish my requirement. I uploaded code to my git account. Here I sharing link of Project Repo :

    https://github.com/sagargondaliya/SecureTextInputForAppleWatch

    Input Controller for Apple Watch