Add UIImageView as SubView to UIScrollView Programmatically. Example in Swift.
У вашего броузера проблема в совместимости с HTML5
In this video I demonstrate how to add several images as subviews to UIScrollView in Swift.
In my example I use UIImageView but it can be a custom user interface design ex. XIB file. To learn how to create your own reusable custom user interface files watch this video: https://youtu.be/EBYdsYwoJVI
Source code to this video is published on my blog: http:/swiftdeveloperblog.com/uiscrollview-programmatically-add-uiimageview-as-subview