I have a UIScrollview that fills a landscape screen that contains a small UIViews tree around it that I can scroll horizontally. I would like to apply barrel-shaped distortion to the scroll view so that when the subviews are moved outside to the center of the scroll view, they change shape.
What good is applying distortions like this?
Is there a way to override drawRect to represent the scroll view, draw on a bitmap, distort it, and then draw this in a ScrollView context? Or is there a built-in API for such distortion?
(source: arielnet.com )
, UIView. CATransform3D, , . UIView, , , . ( ), , , .
, CALayers.
, , , . , UIScrollViewDelegate, scrollViewDidScroll:, .
Source: https://habr.com/ru/post/1721770/More articles:Get items from a sharepoint list by Title field ignoring help with Caml or SPQuery - sharepointCan I set text on a flexible graphic object? - flexHttpHandlers with ASP.NET MVC - asp.net-mvcКак установить cookie, который действителен только для определенного домена, например example.com, но не для его поддоменов? - cookiesWhat to do if setuptools is not installed? - pythonjava.lang.NoClassDefFoundError: ProceedingJoinPoint - javaГенерация таблицы истинности для данного входа - perlSQL Server Выберите Где значение LIKE (временное значение таблицы) - sql-serverPageTurn Animation on iPhone - iphonewsgen vs java2wsdl - javaAll Articles