I want to use a Date Picker inside a TableViewCell but it shows some empty field - look the attached image.
What is it and how to remove that empty field?
I want to use a Date Picker inside a TableViewCell but it shows some empty field - look the attached image.
What is it and how to remove that empty field?
Could you show how you defined the date picker ? Automatic ? Date and time ?
I used the Interface Bilder
Are you sure you have not declared another object behind it ?
Is it in your app's settings ?
OK. Could you show the complete definition of the cell ?
This is my Document Outline on the attached screenshot.
I didn't use any code
it is a regular TableViewController with static grouped cells. No code was used here, just an interface builder.
What do we see on screen ? A cell (a row of the table) ?
Is there a single row in your table ?
Looks like we see the cell background, but it is hard to say with such limited view.
You could try different solutions :
yes it looks like the background of the cell. If I set constraints along with the margins, then the Date Picker will look like this
You know, while we were discussing, I'm already used to this appearance)) I won't dive into the settings, I'll leave it as it is.
Thanks a lot for your help! I and other people appreciate it very much!