に問題がありUISliderますMaster-detail application:
スライダーを詳細ビューに配置し、それを にリンクしDetailViewController.h、空にしましDetailViewController.mた。
だから私は DetailViewController.h に持っています:
- (IBAction)mySlider:(id)sender;
および DetailViewController.m で:
- (IBAction)mySlider:(id)sender {}
コンパイルしようとすると、次の例外が発生します。
'NSUnknownKeyException', reason: '[<DetailViewController 0x754d490> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key mySlider.'
なぜなのかご存知ですか?
ありがとう。