The height of the WebView is incorrect on iOS.
Posted Mar 29, 2023
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)
}
0
2
2 comments
Cliff Lee
Greg Katechis Will I know what's going on?
0
Greg Katechis
1
Sign in to leave a comment.