views:

381

answers:

0

Hi All.

I have a small problem in loading the UIViewController on scroll view.

In my application, I am using 4 tab buttons at the bottom. One of which contains a scroll view, as number of fields in that view are more. One of the field is for accepting the date from the user.

When I am adding this Date Picker View(UIViewController) on UIViewController class, there is no problem in loading the Date Picker View, but when I am adding Date Picker View on UIScrollView there is problem. Application crashes when I am touching any button on Date Picker View.

Is there any problem in loading the UIViewController on UIScrollView ???. What is the alternative if I want to accept the date form user on scroll view or how can I add the UIViewController on scroll view to accept the date from Date picker.

Thanks in Advance. Regards, VIshal.