Ah!

I thought it was ALWAYS ment to do that - ie, position the edit field
within the space that the user can see it.

Or have I got it the wrong way around again?

It could be based on what has focus (first responder)

Have a look at Elements.cs
(https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/MonoTouch.Dialog/Elements.cs),
around line 1675 (BecomeFirstResponder). It scrolls the item into
view.

public virtual void BecomeFirstResponder (bool animated)
                {
                        becomeResponder = true;
                        var tv = GetContainerTableView ();
                        if (tv == null)
                                return;
                        tv.ScrollToRow (IndexPath, 
UITableViewScrollPosition.Middle, animated);
                        if (entry != null){
                                entry.BecomeFirstResponder ();
                                becomeResponder = false;
                        }
                }

It may be that the tableview is somehow null before that other view
comes up, and not after?



On Tue, Oct 2, 2012 at 2:31 PM, c0ld <[email protected]> wrote:
> No =) i want to now, why after return to main view , after
> UIImagePickerController's view , frame of DVC  started to move itself with
> the keyboard? Frame was static(thats what I need) before
> UIImagePickerController's view.What's the difference?
>
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/DialogViewController-resize-by-UIImagePickerController-tp4657069p4657340.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