iOS 按鈕set Enable or Disable

在 .h 文件中:xcode @property (retain, nonatomic) IBOutlet UIButton *btnMyButton; 在函數方法中: btnMyButton.enabled = NO; // disable my button btnMyButton.enabled = YES; // enable my button 轉載自: http://stackover
相關文章
相關標籤/搜索