Giter Club home page Giter Club logo

Comments (27)

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024 1

Yes it worked with commit: 07925c4
See attached screenshot.
image

Quick observation though, the margin between the "Done" button and the top is gone now. You can see that the border line now sits directly on top of the "Done" button.

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

Hi, can you please check if the problem persists with the default system font?
Also may I see where you add the picker view, i.e is it possible that the view layout fails due to when the view is added? Does calling view.layoutIfNeeded() after adding the picker solve the problem? Did you attempt to force some custom height on the picker view?

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

I've reverted to the system font but the issue persists. Please see screenshots.
view.layoutIfNeeded() did not solve the problem.
I'm also not using any custom height on the picker view.
Please see lines 317 and 321 for when I show the picker view.

image
image

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

I see, you're using datePickerOnly and the time is not hidden properly. A fix is coming shortly, thanks for spotting the issue.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Okay great.
I'll love to point that I have this same setup on another project and it works just fine. DateTimePicker 2.4.1. See attached screenshot
When I integrated on my new project, it was also on 2.4.1 then I found the problem (very strange behaviour). After this new problem, I updated to 2.5.0 but the problem persists.
Does downgrading to a lesser version fix the issue for now?

image

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

There was no change to the layout since 2.4.1 so downgrading cannot fix it. I'm having trouble reproducing the issue too - does this happen to you 100%?

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

I downgraded to 2.3.1 and lost the includeMonth setting but the miscued label disappeared. please see attached screenshot.
image

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

There was no change to the layout since 2.4.1 so downgrading cannot fix it. I'm having trouble reproducing the issue too - does this happen to you 100%?

Yes it happens to me 100% and I also find it weird as to why the issue does not exist on a previous project but does exist on my new project using the same version.

Also, how soon can I expect the fix you spoke about?

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

Do you see any warning about some broken layout constraints in the console? I'd love to see that if possible. I'm looking at the issue right now.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Okay, when you say "broken layout constraints," which version are you referring to? 2.4.1???

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

Yes the version that you're finding the issue.

Anyway I would recommend instead of using computed variable to create new instance of DateTimePicker more than once, you use lazy variable to create only one and update its properties if necessary.

I assume this is constraints issue and I can do a quick fix to make sure the date collection view cell has fixed height. But since I cannot reproduce the weird behavior it's hard to tell if the fix works.

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

Please update library to commit 8525a6e3b19d13e31ac078c95c33bc168b1df651 to see if it fixes the issue.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

8525a6e

Okay I will. This is on version 2.5.0 right?

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

Yep that's right.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Also, please how do I update to this specific commit?

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

If you're using pod please specify the commit in the podfile. E.g:

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :commit => '0f506b1c45'

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Anyway I would recommend instead of using computed variable to create new instance of DateTimePicker more than once, you use lazy variable to create only one and update its properties if necessary.

The reason for using a computed variable is because there's no way for me to say dateTimePicker.minimumDate = Date() or dateTimePicker.maximumDate = Date() and those values change dynamically depending on user's selections. This is why I resolved to using computed properties always...

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

If you're using pod please specify the commit in the podfile. E.g:

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :commit => '0f506b1c45'

Okay thank you, I will try this and give feedback.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Please update library to commit 8525a6e3b19d13e31ac078c95c33bc168b1df651 to see if it fixes the issue.

This didn't work. Please see attached screenshot.

pod 'DateTimePicker', :git => 'https://github.com/itsmeichigo/DateTimePicker.git', :commit => '8525a6e3b19d13e31ac078c95c33bc168b1df651'

image

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

@IniongunIsaac can you please try again with latest commit I just pushed?

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

@IniongunIsaac can you please try again with latest commit I just pushed?

Okay let me do that and give you feedback.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Yes it worked with commit: 07925c4
See attached screenshot.
image

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

Great I'll bump version for the fix. Thanks for the collaboration.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Thank you so much for giving back to the community.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

I also noticed the following logs:

	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000315f2a0 UIView:0x7f8c28c7d270.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000315f4d0 UIButton:0x7f8c28c7dd90'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000315f520 UIView:0x7f8c28c7e400.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000315f570 UICollectionView:0x7f8c29082000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003148f50 UIView:0x7f8c28c7d100.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003148cd0 V:|-(0)-[UIView:0x7f8c28c7d270]   (active, names: '|':UIView:0x7f8c28c7d100 )>",
    "<NSLayoutConstraint:0x600003148c80 V:[UIView:0x7f8c28c7d270]-(0)-[UIStackView:0x7f8c28c7e070]   (active)>",
    "<NSLayoutConstraint:0x60000314a4e0 V:[UIStackView:0x7f8c28c7e070]-(0)-[UIButton:0x7f8c28c7dd90'Done']   (active)>",
    "<NSLayoutConstraint:0x60000314a210 V:[UIView:0x7f8c28c7d100]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28c7af80 )>",
    "<NSLayoutConstraint:0x60000314a800 DateTimePicker.DateTimePicker:0x7f8c28c7af80.bottom == UIButton:0x7f8c28c7dd90'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000314af30 'UISV-canvas-connection' UIStackView:0x7f8c28c7e070.top == UIView:0x7f8c28c7e400.top   (active)>",
    "<NSLayoutConstraint:0x600003166940 'UISV-canvas-connection' V:[UICollectionView:0x7f8c29082000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28c7e070 )>",
    "<NSLayoutConstraint:0x60000314f160 'UISV-spacing' V:[UIView:0x7f8c28c7e400]-(0)-[UICollectionView:0x7f8c29082000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000315f570 UICollectionView:0x7f8c29082000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:11:05.561216+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000315f2a0 UIView:0x7f8c28c7d270.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000315f4d0 UIButton:0x7f8c28c7dd90'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000315f520 UIView:0x7f8c28c7e400.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000315f570 UICollectionView:0x7f8c29082000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003148f50 UIView:0x7f8c28c7d100.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003148cd0 V:|-(0)-[UIView:0x7f8c28c7d270]   (active, names: '|':UIView:0x7f8c28c7d100 )>",
    "<NSLayoutConstraint:0x600003148c80 V:[UIView:0x7f8c28c7d270]-(0)-[UIStackView:0x7f8c28c7e070]   (active)>",
    "<NSLayoutConstraint:0x60000314a4e0 V:[UIStackView:0x7f8c28c7e070]-(0)-[UIButton:0x7f8c28c7dd90'Done']   (active)>",
    "<NSLayoutConstraint:0x60000314a210 V:[UIView:0x7f8c28c7d100]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28c7af80 )>",
    "<NSLayoutConstraint:0x60000314a800 DateTimePicker.DateTimePicker:0x7f8c28c7af80.bottom == UIButton:0x7f8c28c7dd90'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000314af30 'UISV-canvas-connection' UIStackView:0x7f8c28c7e070.top == UIView:0x7f8c28c7e400.top   (active)>",
    "<NSLayoutConstraint:0x600003166940 'UISV-canvas-connection' V:[UICollectionView:0x7f8c29082000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28c7e070 )>",
    "<NSLayoutConstraint:0x60000314f160 'UISV-spacing' V:[UIView:0x7f8c28c7e400]-(0)-[UICollectionView:0x7f8c29082000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000315f570 UICollectionView:0x7f8c29082000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:11:41.704136+0100 GIGM Mobile-Staging[3037:31005] Failed to set (valueText) user defined inspected property on (GIGM_Mobile_Staging.HireLocationView): [<GIGM_Mobile_Staging.HireLocationView 0x7f8c28db4410> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key valueText.
2020-10-27 11:11:41.704560+0100 GIGM Mobile-Staging[3037:31005] Failed to set (valueText) user defined inspected property on (GIGM_Mobile_Staging.HireLocationView): [<GIGM_Mobile_Staging.HireLocationView 0x7f8c28d210d0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key valueText.
2020-10-27 11:12:15.134812+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.141012+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.148994+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.154217+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.158054+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.167374+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.171457+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.177217+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.181574+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.187431+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-10-27 11:12:15.191272+0100 GIGM Mobile-Staging[3037:31005] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x60000318c0f0 UIView:0x7f8c28f93490.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318d130 UIButton:0x7f8c28f92ad0'Done'.height == 44   (active)>",
    "<NSLayoutConstraint:0x60000318c5f0 UIView:0x7f8c28f89ce0.height == 1   (active)>",
    "<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>",
    "<NSLayoutConstraint:0x600003180d70 UIView:0x7f8c28f85cf0.height == 228   (active)>",
    "<NSLayoutConstraint:0x600003180eb0 V:|-(0)-[UIView:0x7f8c28f93490]   (active, names: '|':UIView:0x7f8c28f85cf0 )>",
    "<NSLayoutConstraint:0x600003181040 V:[UIView:0x7f8c28f93490]-(0)-[UIStackView:0x7f8c28f0f110]   (active)>",
    "<NSLayoutConstraint:0x600003181a40 V:[UIStackView:0x7f8c28f0f110]-(0)-[UIButton:0x7f8c28f92ad0'Done']   (active)>",
    "<NSLayoutConstraint:0x600003181ae0 V:[UIView:0x7f8c28f85cf0]-(0)-|   (active, names: '|':DateTimePicker.DateTimePicker:0x7f8c28f7a480 )>",
    "<NSLayoutConstraint:0x600003181bd0 DateTimePicker.DateTimePicker:0x7f8c28f7a480.bottom == UIButton:0x7f8c28f92ad0'Done'.bottom + 20   (active)>",
    "<NSLayoutConstraint:0x60000318e3f0 'UISV-canvas-connection' UIStackView:0x7f8c28f0f110.top == UIView:0x7f8c28f89ce0.top   (active)>",
    "<NSLayoutConstraint:0x600003177e80 'UISV-canvas-connection' V:[UICollectionView:0x7f8c2a06d000]-(0)-|   (active, names: '|':UIStackView:0x7f8c28f0f110 )>",
    "<NSLayoutConstraint:0x60000318e490 'UISV-spacing' V:[UIView:0x7f8c28f89ce0]-(0)-[UICollectionView:0x7f8c2a06d000]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000318cf50 UICollectionView:0x7f8c2a06d000.height == 100   (active)>

from datetimepicker.

itsmeichigo avatar itsmeichigo commented on August 25, 2024

Hi I've pushed the fix and updated version 2.5.1. Feel free to close this issue when you find no more problem.

from datetimepicker.

IniongunIsaac avatar IniongunIsaac commented on August 25, 2024

Okay thank you very much.

from datetimepicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.