Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
obigu committed Nov 12, 2024
1 parent 1ba527c commit 09c8304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[1.13.1]
- iOS: Update to MobiVM 2.3.22
- iOS: Fixes Gdx.openURI() not working on iOS 18.1 Simulator.
- Change visibility of PolygonSpriteBatch.switchTexture() to protected
- Added XmlReader.getChildren() and XmlReader.replaceChild()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.badlogic.gdx.net.ServerSocketHints;
import com.badlogic.gdx.net.Socket;
import com.badlogic.gdx.net.SocketHints;
import org.robovm.apple.uikit.UIApplicationOpenURLOptions;

public class IOSNet implements Net {

Expand Down Expand Up @@ -72,7 +73,7 @@ public Socket newClientSocket (Protocol protocol, String host, int port, SocketH
public boolean openURI (String URI) {
NSURL url = new NSURL(URI);
if (uiApp.canOpenURL(url)) {
uiApp.openURL(url);
uiApp.openURL(url, new UIApplicationOpenURLOptions(), null);
return true;
}
return false;
Expand Down

0 comments on commit 09c8304

Please sign in to comment.