Excellent :)

On Wed, Oct 3, 2012 at 11:19 AM, c0ld <[email protected]> wrote:
> 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



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to