Search code examples
swiftwatchkit

Text Input Controller WatchKit


I am trying to use presentTextInputControllerWithSuggestions in a WatchKit app. I am not sure where I am going wrong.

presentTextInputControllerWithSuggestions(["Hello", "Hey"], completion: { 
    (myString) -> Void in
    println(myString)
    })

Solution

  • From the iOS 8.2 Release Notes:

    WatchKit

    Known Issues

    The presentTextInputControllerWithSuggestions:completion: method of WKInterfaceController is not currently supported in iOS Simulator.