Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [uitableview]

UITableView is a class used for displaying and editing lists of information on iOS. A table view displays items in a single column. UITableView is a subclass of UIScrollView, which allows users to scroll through the table, although UITableView allows vertical scrolling only.

uitableview
1 vote
0 answers
12 views

Issue with Dequeuing Custom Cells in Main Storyboard

I'm encountering an NSInternalInconsistencyException when trying to dequeue custom cells designed in XIB files in my main storyboard. The error message is: unable to dequeue a cell with identifier ...
bumblebee's user avatar
0 votes
0 answers
27 views

UITableViewCell reload while scrolling the screen

I have this UITableView in my iOS chat application, I'm using NSFetchedResultsController to fetch new messages from Coredata and show them to the screen. Insert a new message to the bottom of the ...
YosiFZ's user avatar
  • 7,872
0 votes
1 answer
45 views

Box like shadow in swiftUI

I have added a VStack, I am adding 3 elements like Top , middle and bottom and adding shadow respectively. Problem is I am getting 1px gap between the elements even after adding spacing as 0. Top ...
Neha Pant's user avatar
0 votes
1 answer
36 views

iOS - Show header view in 2 tableviews next to each other

I have a view controller that shows two tableViews side by side. I have also a class (ButtonHeaderFooterView) that extends from UITableViewHeaderFooterView. I want to show different titles for the ...
Felipe Peña's user avatar
  • 2,828
-1 votes
0 answers
25 views

Fetching data while UITableView Scroll

I have caught up in specific situations and cannot find a proper solution. I have historic data and details are getting fetched via API1 and details are displayed in TableView e.x Name - Phone No ...
Meluha's user avatar
  • 1,534
-1 votes
1 answer
44 views

In Swift UIKit, how to add two button images inside a table cell?

I need two images buttons to be clickable inside a certain cell (not all cells), instead of the text. How can I do this? I have the cell extension, and the image "the_icon" exists (I can see ...
Vladimir Despotovic's user avatar
1 vote
0 answers
27 views

UIMenu from button inside TablviewCell Not showing properly

I am displaying menu from button as follow: final class YourCustomCollectionViewCell: UICollectionViewCell { private let menuButton: UIButton = { let button = UIButton() button....
nirav's user avatar
  • 651
0 votes
1 answer
37 views

Change the background view of UITableViewCell when dragging during reorder

When the user is reordering their items and dragging on a cell, I want the cell to have a thin material as background. However, when the user isn't dragging any cells, the background would be clear to ...
SwiftUIEnthusiast's user avatar
0 votes
2 answers
69 views

Shadow view is getting darker every time the content is visible in CardView attempt of UITableView

I'm trying to achieve a Card View layout with UITableView in Swift UIKit. When I use the below code, i get what i want but every time the cell comes to the visible area the background and the shadow ...
Thush-Fdo's user avatar
  • 514
0 votes
0 answers
29 views

UITableView + titleForHeaderInSection + estimatedSectionHeaderHeight = jittery scrolling after rotation

There is a UITableView with 100 sections with headerTitle and 1 cell in each. Scroll down few cells Rotate screen Scroll up – scrolling is jittery and titleForHeaderInSection causes it. Any idea how ...
X.app's user avatar
  • 116
0 votes
1 answer
59 views

Index out of range in UITableview while scrolling

I am implementing a nested UITableview that is having a UITableview which has another UITableview within the cell, both of UITableviews are have auto resize cell with dynamic data and header&...
Abhishek kumar's user avatar
0 votes
0 answers
38 views

Cell reuse problem in collection view in Swift

I have a collection view and in collection view cell I add video to play I want that only one video play at a time and it working perfectly but when I see status of my cpu in xcode I have a crucial ...
Ajay Chudasama's user avatar
0 votes
0 answers
50 views

UITableview not showing correct data in UIKit

I am implementing a tableview(Lets say Main tableview) which has another tableview(call it inner tableview) in its cell. So in viewcontroller i am calling api and appending two nested arrays. When i ...
Abhishek kumar's user avatar
0 votes
1 answer
23 views

How to add additional delegate method to UITableViewCell

I am working with a new button in a UITableViewCell subclass. I want this button to bubble up to the containing table in the same way a cell press action would act. Is there a special way to do this?...
Rob Bonner's user avatar
  • 9,386
0 votes
0 answers
24 views

I have a problem where when I tap on a cell to display a picker, the picker is being displayed on the next table view cell

extension ContactsTourViewController { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { print("Contacts count: \(contacts.count)") ...
Collins Muthomi's user avatar

15 30 50 per page
1
2 3 4 5
4295