From a6a8b125371f805bc7bd0196f1e22750ac7eba0e Mon Sep 17 00:00:00 2001 From: shuo Date: Thu, 8 Sep 2022 22:52:57 +0800 Subject: [PATCH] Update Readme for iOS platform specific info (#2473) * Update Readme for iOS platform specific info * Update README.md Co-authored-by: Mads Marquart --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index abef735b..2ca63c66 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,14 @@ and so on, see issues [#2238], [#2051] and [#2087]. If you encounter problems, you should try doing your initialization inside `Event::NewEvents(StartCause::Init)`. +#### iOS + +Similar to macOS, iOS's main `UIApplicationMain` does some init work that's required +by all UI related code, see issue [#1705]. You should consider creating your windows +inside `Event::NewEvents(StartCause::Init)`. + + [#2238]: https://github.com/rust-windowing/winit/issues/2238 [#2051]: https://github.com/rust-windowing/winit/issues/2051 [#2087]: https://github.com/rust-windowing/winit/issues/2087 +[#1705]: https://github.com/rust-windowing/winit/issues/1705