Thanks for reply! I override these functions and looked it, but there are no
changes before and after appearance UIImagePickerController view. Then I
noticed to the line 1675.There is scrolling too, and its starts when i taped
on entryelement:

entry.Started += delegate {
......
tv.ScrollToRow (IndexPath, UITableViewScrollPosition.Middle, true);
};

It moving tableview to bottom ignoring setting TableView.ScrollEnabled in
false, after UIImagePickerController view. I tried to override GetCell
(UITableView tv) but there are some protected objects,and i couldnt see
,what was happening there.So i made custom DVC and UIViewTable like this:

        public class CustomDialogViewController : DialogViewController
        {
                public CustomDialogViewController (UITableViewStyle style, 
RootElement
root, bool pushing):base(style,root,pushing) 
                {

                }

                public override UITableView MakeTableView (RectangleF bounds,
UITableViewStyle style)
                {
                        return new CustomTableView (bounds, style);
                }

        }

        public class CustomTableView : UITableView
        {
                public CustomTableView (RectangleF frame, UITableViewStyle 
style) : base
(frame,style) 
                {
                }

                public override void ScrollToRow 
(MonoTouch.Foundation.NSIndexPath
indexPath,                UITableViewScrollPosition atScrollPosition, bool
animated)
                {
                        Console.WriteLine("Not today");
                }
        }


I understand that this is not the best solution =) , but it works and
TableView is always static in dvc .





--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/DialogViewController-resize-by-UIImagePickerController-tp4657069p4657345.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to