I’m a novice working with an app that lets me bridge Lua to some objective C commands. Using that bridge, I’ve created some controls (e.g, a basic browser WKWebview) using the auto layout in iOS but now want to align some even simpler display items that I’ve created with the app’s Lua commands. Yet, my WKWebview positions are setup on the screen using layout constraints (e.g. Webview.bottomAnchor) while my simpler display items use simple x,y coordinates.
Is there a way that I can obtain the actual screen coordinates of my objective C Webview so that I can align my simpler display items to them (e.g. simpler display model below Webview: simpler display model position.x = Webview.anchorLeft; simpler display model position.y = Webview.anchorBottom)?
Thanks!