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

All 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 ...
Meluha's user avatar
  • 1,534
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 { // ...
Doug Idle's user avatar
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-...
Chris's user avatar
  • 344
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 ...
akshayTejus's user avatar
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 ...
user717452's user avatar
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 ...
tajmahal's user avatar
  • 1,675
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 ...
Six's user avatar
  • 29
-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 ...
tejasree vangapalli's user avatar
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 ...
DBSoft's user avatar
  • 21
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 - (...
李传师's user avatar
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. ...
user717452's user avatar
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 ...
Itzhak Duani's user avatar
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. ...
stefanosn's user avatar
  • 3,304
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 ...
stefanosn's user avatar
  • 3,304
-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 ...
stefanosn's user avatar
  • 3,304

15 30 50 per page
1
2 3 4 5
1320