Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HybridWebView not showing on iOS 18 #25031

Closed
mallibone opened this issue Oct 1, 2024 · 1 comment
Closed

HybridWebView not showing on iOS 18 #25031

mallibone opened this issue Oct 1, 2024 · 1 comment
Assignees
Labels
area-controls-hybridwebview HybridWebView control platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst s/duplicate 2️⃣ This issue or pull request already exists t/bug Something isn't working
Milestone

Comments

@mallibone
Copy link
Contributor

Description

When running the sample app it does not display the HybridWebView when run on Phone or Simulator iOS 18 or macOS Seqouia. When running the same app on the Simulator running iOS 17 the HybridWebviewIsShown

Steps to Reproduce

  1. clone sample app https://github.com/dotnet/maui-samples on a mac running macOS Sequoia
  2. Open HybridWebView sample under maui-samples/9.0/UserInterface/Views/HybridWebViewDemo
  3. Start app under macOS;Phone/iPad running iOS 18; Simulator running iOS 18
  4. App will not be showing

Link to public reproduction project repository

No response

Version with bug

9.0.0-rc.1.24453.9

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

iOS 18, macOS Sequioa

Did you find any workaround?

Run apps on Simulator/Device running iOS 17.5

Relevant log output

2024-10-01 17:14:56.755854+0200 HybridWebViewDemo[25868:16403837] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.

Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dll
2024-10-01 17:14:57.629073+0200 HybridWebViewDemo[25868:16403837] [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <_UIMoreListTableView: 0x1071c4000; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600000c73870>; backgroundColor = <UIDynamicSystemColor: 0x600001740a40; name = tableBackgroundColor>; layer = <CALayer: 0x6000003dbe40>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <UIMoreListController: 0x105a378e0>>

2024-10-01 17:14:57.964244+0200 HybridWebViewDemo[25868:16403837] [TextInteraction] Warning: -[BETextInput attributedMarkedText] is unimplemented

2024-10-01 17:14:58.005576+0200 HybridWebViewDemo[25868:16404268] Failed to resolve host network app id

2024-10-01 17:14:58.063042+0200 HybridWebViewDemo[25868:16403837] Could not signal service com.apple.xpc.anonymous.0x106644e10: 113: Could not find specified service

2024-10-01 17:14:58.432214+0200 HybridWebViewDemo[25868:16403837] [ResourceLoadStatistics] Failed to request query parameters from WebPrivacy.

2024-10-01 17:14:58.567482+0200 HybridWebViewDemo[25868:16403837] [ResourceLoadStatistics] Failed to request allowed query parameters from WebPrivacy.
@mallibone mallibone added the t/bug Something isn't working label Oct 1, 2024
@PureWeen PureWeen added this to the .NET 9.0 GA milestone Oct 1, 2024
@Eilon
Copy link
Member

Eilon commented Oct 1, 2024

Dup of #24364

@Eilon Eilon closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
@Eilon Eilon added the s/duplicate 2️⃣ This issue or pull request already exists label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-hybridwebview HybridWebView control platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst s/duplicate 2️⃣ This issue or pull request already exists t/bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

5 participants