As of now, customizing a nav bar title view to have images and text aligned in specific ways is a hacking nightmare. Any plans to improve on this?
Post
Replies
Boosts
Views
Activity
Whenever navigating to a page of my app containing a web view, console prints tons of warnings of all kinds.
The way I use it is by loading my HTML into it with:
myWebView.loadHTMLString(string, baseURL: withURL)
Some examples:
2020-06-18 18:42:27.661562-0400 MYAPP[2643:464446] WF: === Starting WebFilter logging for process MYAPP
2020-06-18 18:42:27.661623-0400 MYAPP[2643:464446] WF: _userSettingsForUser mobile: {
filterBlacklist = (
);
filterWhitelist = (
);
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2020-06-18 18:42:27.661665-0400 MYAPP[2643:464446] WF: _WebFilterIsActive returning: NO
2020-06-18 18:42:54.601118-0400 MYAPP[2643:464446] [ProcessSuspension] 0x10f895ad0 - ProcessAssertion::processAssertionWasInvalidated()
2020-06-18 18:42:54.617655-0400 MYAPP[2643:464446] [ProcessSuspension] 0x10f895b30 - ProcessAssertion::processAssertionWasInvalidated()
2020-06-18 18:43:24.488553-0400 MYAPP[2643:464446] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2020-06-18 18:43:24.495040-0400 MYAPP[2643:464446] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
I created a view in IB
I set it's background color to color A
I then set it's background color to color B, in viewDidLoad()
In iOS 13 simulators, the view shows as expected with color B
In iOS 12 simulators, the view shows with color A, which I don't expect, nor want
(note: it appears that using didLayoutSubviews works, but why should iOS 12 and 13 behave differently? Either both should work with viewDidLoad, or neither should)