0

I’m working on an iOS application using swift.

A button is connected to a function that will be called once the button is pressed.
The function body contains:

{
let argume = Agrume(image: UIImage(named: "…")!, background: .blurred(.regular))
agrume.show(from: self)
}

The image is shown but it is located on the left, so i have to drag it to the center by clicking in order to be displayed fully.

Can anyone help me how to display the image on the center properly using Argume image viewer ?

Thank you,

Maha