How to populate table rows, using a [String] array sent from iPhone by Watch Connectivity?
问题 Basically, it's passing the array fine. It's just when trying to use the enumerated array as the tablerows, it says nil found. PHONE import UIKit import WatchConnectivity class ViewController: UIViewController, WCSessionDelegate { @IBOutlet weak var sendButton: UIButton! var watchSession: WCSession? var arrayCustom = ["thing1", "thing2"] override func viewDidLoad() { super.viewDidLoad() if(WCSession.isSupported()) { watchSession = WCSession.defaultSession() watchSession?.delegate = self