uitableview Questions
5
Solved
I may be going about this wrong. So I have created a UITableView that essentially has a auto-layout trailing space set to the main view. I am creating a custom cell for this table so I drug on a pr...
Bale asked 4/6, 2015 at 2:1
8
Solved
I have a section in UITableView which has multiple rows. I wish to get the last row or the last cell of the section to add a disclosure indicator on it.
One way I am thinking to use is:
NSIndexPa...
Cortisone asked 16/12, 2013 at 4:41
7
Solved
I have a very simple UITableView that has worked just fine since iOS6....I have recently tried to make a new build going from iOS10-iOS11 and now I am getting this new NSInternalConsistency Excepti...
Zoba asked 9/12, 2017 at 2:28
4
Solved
I have printed a UITableviewCell's gesture in – tableView:didSelectRowAtIndexPath method in NSLog as
<UIScrollViewPanGestureRecognizer: 0x11e92080; state = Possible; cancelsTouchesInView = NO;...
Vassaux asked 27/11, 2013 at 11:0
3
I am writing an UI test case, in which I need to perform an action, and then on the current page, scroll the only UITableView to the bottom to check if specific text shows up inside the last cell i...
Hokum asked 22/1, 2019 at 20:30
1
I Have two collectionView
one is for main items and other is for Sub Items
Main Item we can consider as iPhone
Sub Items we can consider as headphone of apple
so we can say this two items “One...
Megalocardia asked 5/9, 2016 at 9:30
11
Solved
I am creating a table view in which there are 10 sections, all having a header view but no cells. So, in short, my table view will display 10 header views only; there will be no cells in any sectio...
Ronda asked 14/2, 2014 at 5:54
5
Solved
I can create simple custom viewForHeaderInSection in programmatically like below. But I want to do much more complex things maybe connection with a different class and reach their properties like a...
Gaze asked 28/4, 2016 at 22:33
13
Solved
Grouped table views seem to have extra padding on the bottom in iOS 6 (iOS 5 does not have it), but I can't find any documentation that suggests this is correct / expected behavior.
This affects t...
Raouf asked 8/1, 2013 at 7:52
6
Solved
How can I scroll my table view to the bottom when using dynamic cell height?
For some reason this code does not work in this scenario:
[self.tableView scrollRectToVisible:CGRectMake(0, self.table...
Standfast asked 27/6, 2016 at 1:17
10
What is the best way to get round corners on an entire UITableView as seen in Stocks and Spotlight? The grouped style doesn't solve the problem because the round corners scroll away with the cell. ...
Salado asked 9/7, 2009 at 22:54
7
Solved
I adding tableView on viewController.
When I open this screen, then I will get the below warning once.
[TableView] Warning once only: UITableView was told to layout its
visible cells and other con...
Presbyterate asked 28/10, 2020 at 7:27
4
Using UITableView with a custom cell. This was working fine till using iOS SDK 14. When start using iOS sdk 15, UITableView gives error upon scrolling.
Error is "Assert UITableView internal in...
Persaud asked 23/6, 2022 at 17:27
7
Solved
I created a UITableView with a small frame, like (0,0,50,50). I want to disable the horizontal scrolling but keep the vertical scrolling.
I set self.table.bounces = NO, but the tableview can't be ...
Pushover asked 25/4, 2012 at 5:26
10
Solved
How to disable UserInteraction for UITableview cell but not in custom button on that cell..
I am creating a button using :
UIButton *dayButton = [UIButton buttonWithType:UIButtonTypeCustom];
[d...
Shanks asked 8/7, 2013 at 9:16
8
I have this table view which works how i want it to however i have a problem where the footer overlap the cells in the table view as seen in
How can i prevent this? This is my code for the footer
...
Bunk asked 3/4, 2016 at 20:57
5
How to update tableview cell height after updating image height constraint of image downloaded async?
How to trigger tableView cell relayout after image downloaded and constraints changed?
What's...
Ancilla asked 13/9, 2018 at 9:58
9
Solved
Is it possible to iterate over properties of a struct in Swift?
I need to register cells-reuse identifiers in a view controller that makes use of many different cell types (cells are organized in...
Backing asked 4/12, 2014 at 10:57
7
Solved
First of all, this discussion did not solve my problem.
Custom UITableViewCell subclass: This class is not a key value coding-compliant
Setup:
I have an array of Person objects in MainViewContro...
Cajeput asked 16/8, 2012 at 10:44
4
Solved
I create an iPhone app base on uitableview and uitabbar. On each cell of tableview i have an "add to favorite button".
When i pressed this button, i want to make the cell "jump" from her position t...
Fluker asked 8/5, 2011 at 9:11
19
This is my first application for iOS.
So I have a UIVIewController with a UITableView where I have integrated a UISearchBar and a UISearchController in order to filter TableCells to display
overr...
Stagehand asked 21/9, 2015 at 13:32
1
I'm using UITableViewDiffableDataSource to render cells, and I wonder how to animate rows granularily.
There's a property
self.dataSource?.defaultRowAnimation = .fade
which apply for all rows ...
Caveman asked 12/3, 2020 at 11:53
7
Solved
I would really like to use a more simple classic try catch block in my Swift code but I can't find anything that does it.
I just need:
try {
// some code that causes a crash.
}
catch {
// okay we...
Astor asked 14/5, 2016 at 5:11
9
Solved
i have a UITableView, that displays expenses from a current month (see screenshot):
My problem is with the header for empty sections. is there any way to hide them?
The data is loaded from coredat...
Predigestion asked 16/3, 2012 at 12:53
8
Solved
I have a problem with Swift class. I have a swift file for UITableViewController class and UITableViewCell class. My problem is the UITableViewCell class, and outlets. This class has an error Class...
Rosamondrosamund asked 6/1, 2015 at 11:7
1 Next >
© 2022 - 2025 — McMap. All rights reserved.