我,當我嘗試使用下面的代碼行: override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
for touch in touches {
let tap = touch as UITouch
let location = tap.locationInView(self
使用此代碼展開表格視圖單元格,但它不適用於我。我知道這段代碼有一些錯誤幫助我找出答案。 ![selectindex = -1;
// Do any additional setup after loading the view.
}
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{