ios - How to specify view transitions on iPhone -


maybe i'm missing obvious here, using mvvmcross , loading view via command:

    public icommand loadanotherviewcommand     {         { return new mvxcommand(() => showviewmodel<myotherview>()); }     } 

how can hook in , control animation occurs during transition? currently, transitions left-to-right sliding transitions, it's confusing when user navigates view , sees same left-to-right transition.

update:

i've been trying figure out how use class derived mvxtouchviewpresenter achieve little success. think need overload either show(cirrious.mvvmcross.viewmodels.mvxviewmodelrequest request) and/or show(cirrious.mvvmcross.touch.views.imvxtouchview view), can quite figure out how make work. imvxtouchview derived uiviewcontroller can't use in uiview.transition. also, determining view requested , view i'm coming seems little confusing. if @ request.viewmodeltype expect type of view model being requested, instead appears view model coming from. similarly, expect currenttopviewcontroller current view, appears requested view?!? also, notice trying retrieve currenttopviewcontroller causes null reference exception if called (before views have been presented). presumably because internally _masternavigationcontroller null.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -