Questions tagged [popviewcontroller]

147 questions
0
votes
2 answers

Need to release intermediate views with popToRootViewController?

I am down at one point in my application that I reset the user to top screen by using popToRootViewController - and then adjust the position pushing new views. I am asking myself what happens with all intermediary views in between... should I…
geebee
  • 131
  • 1
  • 11
0
votes
2 answers

Change a list of presented view controllers in swift like

My app has complex transition sequence: A presents modal B B presents modal C A presents D (behind B) C is dismissed to D The problem is how to insert D. In case of push-pop animations navigationController has viewControllers property which I can…
0
votes
1 answer

Cart count not updating in navigation bar while popViewController in swift

I have created custom navigation bar with cart and its count like below code: like this if i call setUpNavigationBar() in all viewcontrollers i am getting navigationbar with cart and count func…
0
votes
0 answers

reloading data/refreshing data in parent ViewController

From a parent VC two other VCs get pushed (first adds a group, second adds some (optional) more data); after popping them the parent VC appears but the new data (new group) is not added. I am using UIRefreshControl to pull to refresh calling…
0
votes
1 answer

Push and Pop behaviour is strange, why?

I have two classes, the one is addAlarm and second is Name,,, for now I am in addAlarm (addAlarm is subclass of UITableViewController), as it selects the row, then it goes to Name class as below Name *ob = [[Name alloc]…
Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154
0
votes
1 answer

Show UIView When Popping Back on a Navigation Controller

So I'm trying to show an UIView in a stack view when I click continue on a controller and pop back to the previous controller. However, I'm having trouble showing the view when I pop. It will show if I present the controller, but I need it to show…
0
votes
1 answer

How to dismiss viewcontroller and pop to root viewcontroller swift?

I have main TabbarController which holds ViewController(A). From this A pushed another ViewController(B) using navigationController?.pushViewController From B pushed another ViewController(C) using navigationController?.pushViewController From C…
alphonse
  • 687
  • 1
  • 6
  • 16
0
votes
1 answer

UINavigationController UIBarButtonItem not responding to action method

I have a navigation app with a root viewcontroller and a child viewcontroller. In the child -didSelectRowAtIndexPath method, I add a back button with a target / action as follows: When the back button is selected, I want to go back to root view,…
0
votes
2 answers

Passed array is not passed by popViewControllerAnimated... why?

Dont be put off by the huge question... (its mostly code). OK, I have a navigation Controller which contains a view controller (Called AddClaim) containing a tableView. if a cell is selected, this is called: EditClaimDetails *detailViewController =…
SEG
  • 1,717
  • 1
  • 18
  • 33
0
votes
0 answers

Why TableView does not reload data after popViewController?

In my app I have a ViewController with a collectionView and a tableView. My CollectionView shows the dates and the tableView shows the data in that date. I need to create a date before create the other datas, so when I type in the date it shows up a…
0
votes
2 answers

How to receive same callback in two ViewControllers when one is opened?

I want to receive the same callback in the ViewController that is opened at in the time that server response in my Swift Application. I have two ViewControllers. The first ViewController registers a callBack from a class "NetworkService". The second…
user3745888
  • 6,143
  • 15
  • 48
  • 97
0
votes
3 answers

Present model view is not work with uinavigation controller

i am using navigation based app. i am using push pop for switching view. But when i desire to use present model view controller in order to slide up view..then push pop not work properly? How can i slideup my view/
0
votes
1 answer

How to propagate changes while back navigation in android and ios?

I have a Xamarin.Android and Xamarin.iOS app. The app has a data model called as PRODUCT. In various screens, we will list the products depending on queries or other criteria. Let's say that the user navigated from Activity-A (ViewController in ios)…
0
votes
2 answers

Navigation Controller is nil, though embedded in a view controller

As you can see, my navigation controller is embedded in the root view controller. In this view controller, I have a subview, and at one point, I push the popover onto the view controller. For some reason, I cannot use…
Xcoder
  • 1,433
  • 3
  • 17
  • 37
0
votes
1 answer

popViewController does not remove UINavigationBar items

I have a strange problem. I found some tipps here and in the internet but I nothing solved my problem. So here is what happens: I have a TabBar Navigation with 9 items. All of them are UINavigationItems. On one of them I replace the default…