The height of the WebView is incorrect on iOS.
The height of the WKWebview in the ZendeskArticleViewController is much larger than the content area. Please see the attached photo below.
The ZDKArticleViewController has a WKWebView internally, and the height of the WKWebView is too large for the content area.
The code to present the ZDKArticleViewController is shown below.
Not all iPhones are experiencing this issue. the device experiencing this issue is an iPhone 6S+ with iOS 15.5. Any advice?
func presentArticle(article: ZDKHelpCenterArticle) {
let articleConfig = ArticleUiConfiguration()
articleConfig.showContactOptions = false
let hcConfig = HelpCenterUiConfiguration()
hcConfig.showContactOptions = false
let articleController = HelpCenterUi.buildHelpCenterArticleUi(withArticleId: article.identifier.stringValue, andConfigs: [articleConfig, hcConfig])
self.present(articleController, animated: true)
}
-
Hi Cliff! I'm honestly not sure if this behavior is expected or not on a device from 2015, but I've reached out to our dev to see what they have to say on the topic. I'll drop an update when I hear back from them.
-
Greg Katechis Will I know what's going on?
Please sign in to leave a comment.
2 Comments