UIViewController があり、その上に UIImageView を配置し、次に UIScrollView を配置します。
UIScrollView のタッチは問題なく処理できますが、UIViewController の特定のタッチを処理したいと考えています。
5 秒間保持される UIScrollView に触れるだけで済みます (この部分は正常に動作します)。UIViewController に渡したいものはそれ以下です。
UISCrollView では、次のように呼び出します。
- (void) touchesBegan: (NSSet *) touches withEvent: (UIEvent *) event
{
// some custom code to process a specific touch.
// all other touches
[super touchesBegan: touches withEvent: event];
}
UIScrollView から一番下の UIViewController にタッチを渡す方法はありますか、または UIViewController への参照を UIScrollView に渡す必要がありますか?