我尝试像下面这样快速获取button的title。@IBActionfuncbuttonAction(_sender:Any){letbuttonTitle=sender.titleForState(.Normal)!}但它没有用,即使我们在发送者之后按.时它也没有给出任何提示。sowhatisthecorrectwayofdoingthisinswift3.0否则,如果我们创建一个IBOutlet,然后使用它的currentTitle,它会像下面这样正常工作。为什么我们不能通过sender.获取它@IBOutletvarthebutton:UIButton!@IBActionfunc