1
我試圖在我的第一個控制器的WK狀態欄中自定義標題。在WK狀態欄中自定義標題
正確的方法應該是這樣的:
public func setTitle(title: String?) // title of controller. displayed when controller active
所以
WKInterfaceController.setTitle("my Title")
但使用此代碼,Xcode中說:Cannot convert value of type 'String' to expected argument type 'WKInterfaceController'
。怎麼了?