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
64,423
questions
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 ...
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 ...
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 ...
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 ...
-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
...
-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 ...
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....
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 ...
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 ...
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 ...
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&...
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 ...
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 ...
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?...
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)")
...