last day (14 days later) » 

5:14 AM
Hey...
 
yes ?
 
In iOS i have create Custom back button
How to go to Previous StroyBoard from that Button Click..
To start new StoryBoard i have this :
void HandleTouchUpInside(object sender, EventArgs ea)
{
UIStoryboard Storyboard = UIStoryboard.FromName("Drawer", null); // Assume the name of your file is "MainStoryboard.storyboard"

var webController = Storyboard.InstantiateViewController("DrawerController") as DrawerController;

// //webController.CaseID = int.Parse(notification.UserInfo["ID"].ToString());
this.NavigationController.PushViewController(webController, true);
}
But When I set this.NavigationController.PopToViewController but it not work.
 
just dismiss the current view controller
you will be back on previous page
51
Q: Dismissing a Presented View Controller

nikitahilsI have a theoretic question. Now İ'm reading Apple's ViewController guide. They wrote: When it comes time to dismiss a presented view controller, the preferred approach is to let the presenting view controller dismiss it. In other words, whenever possible, the same view controller that ...

 
ya.. but i have to go StroyBoard B to StoryBoard A not to previous View Contorller But Different StoryBoard ViewController..
 
that is opened in backstack na
just finish the current
as we do in android
simple
 
5:25 AM
you mean finish current ViewController
 
in android we have finish in ios there is dismissCurrentViewcontroller
something like that
 
But that option is not Avaiable..
 
dimissViewController
he to sahi
 
Ok wait I try that also..
Not Work..
Wait I post Image..
See I start StroyBoard B from ViewController A..
Now I am in ViewController B and on Button Click I want to go to Storyboard A View Controller A..
 
5:47 AM
do same as you done in ViewController A..
 
But My ViewContoller A is Home Activity as like in Android. Home does not to previous View Controller..
 
you start StroyBoard B from ViewController A..
then do same in B start A from B
 
Ya that's Work but In ViewController B when I start A. it transition come from Right to Left. but i want Left to Right as we do in Android.. As your Option I apply then it look like On Back Button press i start another Time View Controller A.
 
6:02 AM
then search about animation
i dont know how to do that
 
6:13 AM
Ok thanks for your time..
 

last day (14 days later) »