SHMultipleSelect icon indicating copy to clipboard operation
SHMultipleSelect copied to clipboard

Autolayout with SHMultipleSelect

Open godara opened this issue 9 years ago • 5 comments

Hi

I am using autolayout in my project and I want exactly the same feature as provided by SHMultipleSelect but I think it doesn't support autolayout constraints. I tried to add constraint through code but it gives the following error:

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Impossible to set up layout with view hierarchy unprepared for constraint.'

The issue comes while rotating the device, the view gets distorted.

Can you please add autolayout support to this? That would really be very helpful.

Thanks

godara avatar Aug 08 '15 10:08 godara

Hi Godara Can you please create one small XCode project using SHMultipleSelect that produces this issue, and send me this project to email: [email protected]. I'll fix and push it.

Shamsiddin avatar Aug 08 '15 11:08 Shamsiddin

Hi,

Just to confirm that I am also having this issue.

If you rotate the device, you will see the problem.

Thanks.

polis80cy avatar Apr 20 '16 22:04 polis80cy

Hi, In landscape mode after rotating autolayout is not working...its not working properly at all...check yourself after rotation to landscape mode...

jayrawat avatar Jun 27 '16 09:06 jayrawat

I have fixed it by setting frames for UI elements in layout subviews method....

jayrawat avatar Jun 27 '16 10:06 jayrawat

Hi Team,

How can fix this autolayout problem while rotate in landscape mode..

mercuryboy avatar May 24 '17 06:05 mercuryboy