Skip to main content

All Questions

0 votes
1 answer
38 views

Is is legal to change the position of the frame of the contentView in a UITableViewCell or should I use another container view?

I am making my own custom swipeable cells where user can swipe a cell to show options. Currently all my subviews are added to the contentView of the cell. And I have added my options to the ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
54 views

UISlider triggers reorder on Silicon Mac's UITableView

When I run my iOS app on Apple Silicon Mac (ARM) in "Designed for iPad" mode, I'm not able to use a UISlider contained in a reorderable tableview cell. Dragging the slider triggers a reorder ...
user1443996's user avatar
0 votes
1 answer
70 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
96 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
  • 364
1 vote
1 answer
161 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
64 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
62 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
90 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
162 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
58 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
49 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
46 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
59 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,324
0 votes
2 answers
118 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,324
-1 votes
1 answer
201 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,324

15 30 50 per page
1
2 3 4 5
1319