iOSLibImageView - UBogun/Xojo-iosLib GitHub Wiki
Native class: AppleImageView
Inherits from: iOSLibCanvas
iOSLibImageView is the custom control of iOSLib containing an AppleImageView as object, which means it is a replacement for Xojo’s iOSImageView. As there are no special events available for this class, you will probably only need to employ it if you design your own subclasses (an need access to the UIView events) or if you want to make use of the advanced inspector properties. Basically you will find that the iOSImageView extension gives you enough control over the built-in Xojo control.
Like all iOSLib custom controls, the control is a wrapper that contains the view and performs translations between Xojo and iOS classes / data types transparently whereever possible.
Like all iOSLib custom controls, if you want to attain maximum performance, you can always address the iOSClass itself via the Controls ID object. The ID object is always the View subclass itself, in this case AppleImageView. The iOS class expects Apple native objects and data types of course. You can always use the included translation methods to bridge from Xojo types and classes to iOS.
General information
Inspector Properties
Inspector behavior properties of iOSLibImageView.
Properties
Animating As Boolean (read-only): True when the view plays an animation.
AnimationDuration As Double: The amount of time in seconds it takes to go through one cycle of the images.
AnimationImages As iOSImage(): An array of iOSImage objects to use for an animation. Realized via methods
AnimationRepeatCount As Integer: The number of times to repeat the animation.
Highlighted As Boolean: Determines whether the image is highlighted.
HighlightedAnimationImages As iOSImage()s: An array of iOSImage objects to use for an animation when the control is in highlighted state. Realized via methods
HighlightedImage As iOSImage: The highlighted image displayed in the image view.
Image As iOSImage: The image displayed in the image view.
Methods
StartAnimating(): Starts animating the images in the control with the first image.
StopAnimating(): Stops animating the images in the control.
Events
All the events inherited from iOSLibCanvas are available, with the exception of Draw.