All Questions
Tagged with objective-c uitableview
19,797
questions
-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
...
0
votes
1
answer
67
views
iOS Solid text over a background image and low alpha cell background
How do I get the text in my cells to show as solid text while still fading the cell background so I can see the image behind?
I have the following in my ViewController:
`
- (void)viewDidLoad {
// ...
0
votes
1
answer
73
views
Reuse a tableview cell with CALayer
I have a tableview cell with a reuse-identifier set in storyboard.
After checking some conditions I want to draw different things on the contentView of the cell.
My problem is when the tableview re-...
0
votes
0
answers
72
views
I want to remove the red button with the minus and make it so that the delete button shows up on swiping left now swiping isn't working
This is my code,
I want to remove the red button with the minus and make it so that the delete button shows up on swiping left, now swiping isn't working. I checked UITableViewCellEditingStyleDelete ...
1
vote
2
answers
151
views
Navigating tvOS UITableView By Letter of Alphabet
Here's a clip on YouTube showing the issue. Video
I have a UITableView that lists the files located in the app alphabetically. As there are over 1500 files, I'm trying to implement functionality to ...
0
votes
0
answers
61
views
UITableViewCell accessory views affecting each other?
I have a very weird problem where one UITableViewCell's accessory view seems to affect the frame of another UITableViewCell's accessory view.
When I run the app, it looks like this at first (The ...
1
vote
1
answer
60
views
How to properly add an image programmatically in a customcell objective-c
I'm trying to add an image programmatically in a custom tableviewcell but it display it like this:
I would like it like this:
(like a notification)
Here is my code:
ViewController.m
@implementation ...
-2
votes
2
answers
76
views
How you create and display the section headers in landscape orientation Swift
This is my current behaviour
I want the "More" section header leading to be aligned with the tableview cells leading. When in portrait they all are at same leading space but, in landscape ...
0
votes
1
answer
140
views
Extending UITableViewCell with UIStackView in Objective-C
I have my own cross platform widget layout system that I use for most things so I have never had to use layout constraints before, so this is my first dive into it. My code is in Objective-C not Swift ...
0
votes
1
answer
56
views
Why UITableView create redundant reuse cell if call [tableView scrollToRowAtIndexPath:atScrollPosition:index animated:YES]
The number of cells is 30, scroll to 15 after 5 seconds in viewDidLoad. UITableView will create a redundant reuse cells after scrolling to the invisible cell.
Code:
@implementation ViewController
- (...
0
votes
1
answer
41
views
Selecting Different Cells in One TableView with 2 Data sources
On one view controller, I have a single UITableView and a UISegmentedControl at the top of it. The table view is populated from an NSArray that collects the files from one of a couple different ways. ...
1
vote
1
answer
45
views
Go back to view controller with cached data
I'm building an app which has 4 screens, on the second screen the user will set time by date-picker on tableview.
There are few times to be set (depending on array.count).
On the third screen the user ...
0
votes
1
answer
52
views
UIScrollview with paging vertically working but user not landing to the next page
I am using the following code to scroll to the next page of a UITableView that has a scrollview. Scrolling works but the page the user lands to depends on the power he scrolls with his finger. ...
0
votes
2
answers
87
views
Find the visible UITableViewCell when user scrolls to it
I am using the following code to find the visible cells in my tableview. Everytime the user scrolls only one UITableViewCell is visible to the user but the code below returns two visible rows because ...
-1
votes
1
answer
179
views
How to make each UITableViewCell snap to top on scrolling of UITableview
I would like to achieve the following functionality. I have an UITableView which consists of UitableViewCells with images of various heights. When i slide up with my finger i need to stick the next ...