How do I configure API endpoint on UIKit

I’m using UIKit for iOS and just created an application in EU Datacenter - however I cannot change api endpoint to EU Datacenter - it keeps connecting to Singapore DC

The endpoint changing feature is unavailable on latest UIKit 2.4.0 yet. We are going to release an upcoming version by July 30th. we are sorry for this inconvenience.

How does api change?
UIKit 2.4.0 - latest version
AmityUIKitManager.setup("API_KEY")

UIKit 2.4.2 - upcoming version
AmityUIKitManager.setup(apiKey: "API_KEY", url: "CUSTOM_ENDPOINT")
or
AmityUIKitManager.setup(apiKey: "API_KEY", httpUrl: "CUSTOM_ENDPOINT", socketUrl: "CUSTOM_ENDPOINT")