2016-07-24 41 views

回答

0

頭文件提供了可用選項watchOS表,什麼也沒有檢查行是否可見,提交雷達,如果這是你想一個重要的特點:

@available(watchOS 2.0, *) 
public class WKInterfaceTable : WKInterfaceObject { 


public func setRowTypes(_ rowTypes: [String]) // row names. size of array is number of rows 

public func setNumberOfRows(_ numberOfRows: Int, withRowType rowType: String) // repeating row name 


public var numberOfRows: Int { get } 

public func rowController(at index: Int) -> AnyObject? 


public func insertRows(at rows: IndexSet, withRowType rowType: String) 

public func removeRows(at rows: IndexSet) 


public func scrollToRow(at index: Int) 


@available(watchOS 3.0, *) 
public func performSegue(forRow row: Int) 
} 
相關問題