All Questions
Tagged with uitableview tableview
1,168 questions
0
votes
2
answers
49
views
Dynamic Height Cell with XIB: Including UILabel and UIImageView
I’m trying to design a UITableViewCell with XIB that has the following layout and behavior:
A UIView on the left with a fixed size of 44x44.
A UILabel next to it, which expands dynamically based on ...
1
vote
0
answers
60
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
1
answer
47
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
1
answer
291
views
Stop tableView scrolling under status bar (Swift 5, Xcode 15)
I have a tableView inside -> navigationViewController -> tabBarController.
The tableView keeps scrolling under the statusBar no matter what I do. I like it to stop underneath the status bar.
...
0
votes
2
answers
209
views
Swift TableViewCell Image like setting app on iPhone
Problem:
I want to replicate the settings app left cell.UIImage with sfSymbols to a T
programmatically not using a nib or custom cell.
I am trying to replicate the settings app sfSymbol images on ...
0
votes
1
answer
54
views
How can I slowly scroll up and down my table view from a background thread?
I am trying to figure out how I can scroll through my tableview through a background thread in xcode/swift. Here is the code I have so far:
func startBackgroundScrollingThread() {
DispatchQueue....
0
votes
1
answer
36
views
Where is it better to place the drawing of the bezier mask in the tableview cell
can you please advise
I make chat like in tinder using tableViewCell
In a cell I have a MessageBuble - Uiview
And every time I calculate the appropriate width for the label and crop the MessageBuble ...
0
votes
2
answers
177
views
How To Expand UITableViewCell's UILabel's Background Property When Text Is Being Generated?
I cannot get my label's background property to properly expand/grow with the text as it is being inputted into the label.
I've made a UITableView with a custom cell. This custom cell's file is a .xib ...
-1
votes
1
answer
76
views
Fixed Height for Navigation bar on UITableView scroll
Problem:
I would like the navigation bar and large title to remain fixed when scrolling the tableView. How can I set it programmatically so that when the tableView is scrolled the navigation bar does ...
1
vote
2
answers
695
views
Swift Tableview Cell button isn't working
I'm having issues getting buttons to work in a tableview cell in Swift. I've looked around at several solutions here and other places around, but nothing has seemed to work. I'm probably missing a ...
1
vote
0
answers
37
views
Table View is not updating after I add a contact, on table view all contacts are fetched in the device
Here is my viewcontroller class`
In this class the row 3 below button , loads all contacts from directory, I need to reload the
table after I add a contact, but it is not updating but it updates ...
0
votes
1
answer
300
views
Swift limit number of rows in section & extend limit once bottom reached
Problem:
I would like to limit the amount of cells shown. For example, 100.
Once the tableView has reached the bottom I would like to extend that limit further since the data is already there, I do ...
0
votes
1
answer
76
views
Status Circle in UITableViewCell not appearing | Swift
Would someone please tell me why the status bubble is not appearing? I have declared and activated everything, to my knowledge. Nothing appears at all related to the status bubble. Note: ...
0
votes
1
answer
681
views
Could not load NIB in bundle: 'NSBundle
I have bug that I can't find solution, so I need your help.
I have class MealsViewController, subclass UIViewController with Table view in my ViewController. Then I create class MealTableViewCell with ...
0
votes
1
answer
68
views
get selected button from all the cells
I am new to swift and iOS. I am stuck at one point of my development. I hope any one of you. The problem is
I have a table view cell, in which I am having one question and two buttons with yes or no ...