최근 검색


최근 검색 없음

Lots of warnings running the iOS SDK



2023년 2월 02일에 게시됨

Hello! I completed the tutorial and started to work on integrating the Zendesk iOS SDK into my app. I am seeing a lot of warnings in the terminal and curious if this is related to the SDK or something I am doing wrong. I see the same issue after completing the tutorial that I saw when integrating this into my app.

Example warnings:

This first one is present when opening the help center.

[UIKitCore] Custom views and layout for UITableViewHeaderFooterView should be contained within the content view. Offending view:
<ZDKHelpCenterOverviewHeaderView: 0x7f9b0e00ce20; baseClass = UITableViewHeaderFooterView; frame = (0 0; 600 44); text = ''; autoresize = W+H; layer =
<CALayer: 0x6000031ad0e0>>

This second one is present when opening the chat modal.

[UIKitCore] 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: <UITableView:
0x7f9b0c9d5000; frame = (0 22; 414 672); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x600003fcbb70>; backgroundColor =
<UIDynamicSystemColor: 0x600002ab9640; name = tableBackgroundColor>; layer = <CALayer: 0x600003651520>; contentOffset: {0, 0}; contentSize: {414, 93};
adjustedContentInset: {0, 0, 0, 0}; dataSource: (null)>

I have an example repo here: https://github.com/alxhghs/zendesk-sdk-ios-tutorial

Any help is appreciated!


1

0

댓글 0개

댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물