我正在尝试使用watchConnectivity(在ICWatch_ConnectionManager中定义)发送消息:
func startEvent(eventType:EventType) {
var message:[String : AnyObject]
message = [WatchManagerMessageTypeKey : WatchManagerMessageSimpleMessageKey]
message [EventKeyType] = eventType.rawValue
//and then send message - no problems
}
var event = [EventKeyType : MyEventType]
ICWatch_ConnectionManager.startEvent(event)
我该如何解决这个问题?