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

All Questions

Tagged with
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
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 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
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
18 views

NSFetchedResultsController doesn't re-order UITableViewCell

I have 2 NSManagedObject as below. @interface Discussion : NSManagedObject @property (nonatomic, retain) TMMessage *lastMessage; @end @interface TMMessage : NSManagedObject @property (nonatomic, ...
Ryan's user avatar
  • 4,874
0 votes
1 answer
28 views

How do I fetch a list of users from my Firebase Realtime Database when each users data is stored under a unique 16 digit key on Xcode using UIKit?

I've already built the same exact app for android using android studio so I don't want to make any changes to the database whatsoever. If the solution to fetching users from Firebase and displaying ...
Abdullah Imran's user avatar
2 votes
1 answer
56 views

How can I add click event on UIImageView inside UITableviewCell?

I want to add some click event inside table view cell, I research the answer from internet, so I add "isUserInteractionEnabled = true" in UIImageView to let UIImageView can accept the ...
ives's user avatar
  • 21
-1 votes
1 answer
59 views

Tableview height issue after device orientation changed

I am showing a view Controller with a self sizing tableview inside a Container view. See green color view in image 1. If the device orientation changed to Landscape mode, the UI has no issues and ...
udi's user avatar
  • 317
0 votes
0 answers
31 views

How to ensure that click on small button in tableview cell is recognized correctly?

I have a button on tableview cell in my UIKit App and when I tap on it, sometimes is recognized as a button click, and sometimes as a selection of the cell, itself. So, what I can do to make that ...
Jay Pratap singh's user avatar
0 votes
0 answers
33 views

UITableView indexPathsForVisibleRows get incorrect

I have a UITableView with 1 section and 3 rows, and each row is 1000 height, the UITableView height is 832, such as below: demo but when I click the right button, the visibleCells has 2 items(row-0 ...
Ping's user avatar
  • 9
1 vote
1 answer
32 views

UITableView reordering controls are not showing in UIViewController

Not sure what is wrong, I feel like I've done this a thousand times over the years, but its not working this time. I have a UIViewController (not UITableViewController) and I create a UITableView in ...
Kenny Wyland's user avatar
  • 21.3k
0 votes
0 answers
48 views

How to display one object of api response in the cell at a time using tableview cells in

I have gotten some success to get to the end of the first nested array but now I have difficulties in shifting to next index Eg:- I am at { "choice" : 1742, "assessment" : 133, &...
Kshitij876's user avatar
2 votes
1 answer
49 views

Update height of WKWebView

I need help in updating the height of a UITableViewCell based on the WKWebKitView content height. I have written the code to get the height based on document.body.offsetHeight didn't work as it was ...
Shahnas Ettool's user avatar
1 vote
0 answers
11 views

Where is the setSelected(_:animated:) in ASCellNode when using AsyncDisplayKit/Texture?

I am using AsyncDisplayKit/Texture in my iOS app. A typical subclass of UITableViewCell offers the following 2 functions which can be overridden: override func setSelected(_ selected: Bool, animated: ...
sudoExclamationExclamation's user avatar

15 30 50 per page
1
2 3 4 5
3046