Status bar allowing the contents of UITableView through it!

Hello,
I am noob iOS developer, sorry if this question is too basic.
I am observing a peculiar problem in my project
not seen in other similar screens of the app. I have a UITableView with upto 100 items but when I scroll to view additional content
the Status bar is allowing the contents of UITableView through it. I have tried few things based on stackoverflow research , I set

tableview.contentInset.top = 20

and it did not work

I also attempted to set following in viewcontroller

self.edgesForExtendedLayout = []
self.extendedLayoutIncludesOpaqueBars = false
self.automaticallyAdjustsScrollViewInsets = false

None of these helped. I will appreciate if someone can give me any direction on how to solve this problem. Also I would like to deepen my understanding to solve similar problems
what are some topics I need to brush up for sure?

Thanks

Hello @peter2020 i want to start by welcoming you to the RW Community. No question is too basic, most times its little errors that affects a product from being great. I see you have tried doing some research on stack-overflow. Kindly try looking at the below articles from our team. Please let us know how it goes.

https://www.raywenderlich.com/2436-how-to-make-a-swipeable-table-view-cell-with-actions-without-going-nuts-with-scroll-views

https://www.raywenderlich.com/5786-uitableview-infinite-scrolling-tutorial

This topic was automatically closed after 166 days. New replies are no longer allowed.