I have a UIView series inside a UIScrollView, and the UIViewControllers for these views do not receive touch events. If I look at the views from the scroll, this will work.
I have included userInteraction in the views, but it still does not work!
This should be possible, and I would be very grateful if someone could point me in the right direction!
Thanks,
Mike
I overcame this problem by overriding the loadView method of the view controller and setting the view instance variable to a simple subclass of UIView that runs on touches.
, viewcontroller, ? , , , .
, scrollview .
mahboudz - , - . , , . , . Apples scrollViewSuite. tapDetectingImageView. , ! , !
. .
, , .
Source: https://habr.com/ru/post/1716613/More articles:Should I generate a complex object in the database or at the data access level? - databaseEfficient way to use python lambda, map - performanceLINQ2SQL - перекрестное соединение, когда я хочу внутреннее соединение - linqUnable to connect to SQL Server 2008 Express from Virtual PC - visual-studio-2008How to pass a parameter to silverlight so that it is behind the scenes - asp.netExclusively open / modify XML file? - c #Rebooting environment variables in C # after startup - c #Creating an XPS Document from a Web Application - asp.net"Указанный сеанс входа в систему не существует. Возможно, он уже завершен". при попытке скопировать файл с помощью WindowsIdentity.Impersonate - c#Blend 3 during development cannot find my converters / resources. (WPF) - wpfAll Articles