Longtianmu
Longtianmu
我也是,iPadOS/iOS 15.4.1均无法使用,可能16有解决? 我回去试试
> 在Mac上的Safari是可行的,iphone 上的确实不行,具体原因还不清楚。 Apple的Mobile和Desktop的Webkit版本与类型不一样吧
> actually there is an easier way: simply don't call `SDL_UIKitRunApp`. Start iOS app normally via `UIApplicationMain`, then when ready, start SDL machinery: > > ```objc > SDL_SetMainReady(); > SDL_iOSSetEventPump(SDL_TRUE);...
> > could you please tell me if SDL_main is similar to SDL_UIKitRunApp(Argc,Argv,SDL_main func)? > > it is, as I see: > > https://github.com/libsdl-org/SDL/blob/95a9271dbfb2d1348ba8350ba608d9e6ff915bc1/include/SDL3/SDL_main_impl.h#L181-L184 That actually works, except the SDL_iOSSetEventPump.
> SDL/include/SDL3/SDL_main_impl.h And sadly I only receive a black screen with normal console log. I use ``` SDL_SetMainReady(); SDL_iPhoneSetEventPump(SDL_TRUE); launcher_main(argc, argv); SDL_iPhoneSetEventPump(SDL_FALSE); return 0; ``` To boot App in main.
> Try the 2024-05-11 nightly fix build, and let me know if it works. If not, I'll make a different fix. Sorry I didn't find this version on nightly site?...
> Try the 2024-05-11 nightly fix build, and let me know if it works. If not, I'll make a different fix.  Well still broken. I suppose it may just...