0

EDIT: I managed to get it to work, starting from sratch. But i still don't understand why it won't work in another place. I'll check again later. I close the question.


i tried to implement what is described in this blog article and in this technote in a xamarin.ios project without success:

I used the same appearance hierarchy and constraints, but i keep having the error 'Unable to simultaneously satisfy constraints'. The problem relies in the 'Container View' whose constraints can not be set to 0 right/bottom spaces of the scrollview without triggering the error. But if these constraints are removed, the 'Container View' has no width/height and the scrollview does't scroll.

Anyone has a working demo project from this blog post ?

Softlion
  • 12,281
  • 11
  • 58
  • 88
  • Hi Softlion, I'm struggling to implement a scrollable UIView using mixed-mode, probably because of a Xamarin's bug. Do you mind sharing how you manage to implement the pure mode, at least the constraints part? Thanks! – Hetote Jun 27 '14 at 11:14
  • Well there is no bug in Xamarin. But there are bugs (or limitations) in iOS. Let me answer in the question. – Softlion Jun 27 '14 at 17:34
  • I switched all UIScollview into UITableView, and in cells i add all subviews to the contentview, then bind all contraints of subviews to top and left of the contentview only. – Softlion Jun 27 '14 at 18:05
  • You are right. In fact, there is a bug in the IOS simulator that makes an UIScrollView stop working. Just restarted it and everything is OK! – Hetote Jun 29 '14 at 18:12

0 Answers0