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,422
questions
-3
votes
0
answers
14
views
Keyboard dismissing issue while reloading table in swift [closed]
I have table view, in which in second section, there is search bar, whenever I am enetring some search text & it's relaoding with result, It dismisses the keyboard, which should not happen.
How to ...
-1
votes
0
answers
15
views
Creating an MVP of a Spreadsheet with API/SaaS Integrations at a Cell Level [closed]
I am thinking of building a solution best described as a spreadsheet on asteroids. The interface would be very simillar to a spreadsheet, but the user would be able to call APIs to perform certain ...
0
votes
1
answer
30
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
26
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
67
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
58
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
36
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
23
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)")
...
0
votes
1
answer
33
views
Access property of a tableview from within a cell in Swift inside a gesturerecognizer
I have a UITapGestureRecognizer attached to an image within a tableview cell in Swift.
When the user taps the image, I'd like to access a property (variable) of the View Controller containing the ...