iOS scrollTo name not working in XCUIElementTypeImage type

Please help me solve the problem.
Trying to scroll to name in XCUIElementTypeImage type
but the scroll doesn’t happen.
If name is in XCUIElementTypeView then scroll successfully. I don’t know what the problem is =(
use

fun scrollToContentDesk(content: String) {
var element: IOSElement?
when (Constants.RunVariables.PLATFORM) {
Constants.Platform.IOS -> {
element = applicationManager.getDriver().findElement(By.name(content))
element?.click()
}
}
Element:
type
XCUIElementTypeImage
name "“text massege”
enabled
true
visible
true
accessible
true
index
1
accessibility id “text massege”

@Aleksei hoping you can help me out pls.

try first many ways mentioned here -> http://appium.io/docs/en/writing-running-appium/tutorial/swipe-tutorial/

Thanks, its help me!