Questions tagged [navigationcontroller]

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NavigationController is about this flow.

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NagigationController is about this flow in a technology that can apply the MVC pattern.

507 questions
5
votes
1 answer

How to navigate from bottomsheetdialog to fragment using navigation?

I'm currently making an app with bottomsheet feature which when the user taps an icon(imageview) inside the dialog the fragment will show up. my problem is I cant navigate to fragment b and it's returning me this error this is my home fragment the…
5
votes
1 answer

Navigation Controller and BroadcastReceiver

I'm currently having an issue with finding the NavigationController instance from within a BroadcastReceiver context. When I call findNavigationController() from anywhere else in the Fragment it navigates without any problem but when I call it from…
the-ginger-geek
  • 7,041
  • 4
  • 27
  • 45
5
votes
2 answers

How to move search bar into the navigation bar using Swift?

So I'm wondering how I can move the search bar in my app (which is currently displayed below the navigation bar, into the navigation bar. Right now, I have a function called makeSearchBar(), which I call in viewDidLoad() to make the search bar.…
5
votes
2 answers

snapshotView(afterScreenUpdates: true) returns an empty view

I want to implement a custom push-transition for a navigation controller. I first implemented the UINavigationControllerDelegate where I return an Object of UIViewControllerAnimatedTransitioning. In this class, I want to take a snapshot of the…
Pascal
  • 2,590
  • 3
  • 21
  • 46
5
votes
1 answer

iOS disable push segue animation

I have a storyboard with various segues for pushing ViewControllers in a NavigationController. In storyboard i disabled Animation: However the push is still animating. Why?
Lord Vermillion
  • 5,264
  • 20
  • 69
  • 109
5
votes
1 answer

Passing an entire UIView From One ViewController to another via UINavigationController

This is what i am doing - I have a UIView - I pass it from one viewcontroller to another. When I come back to the first viewcontroller - the uiview is missing - Instead there is a white blank space in its place. I am using ARC - any idea - if its…
vivianaranha
  • 2,781
  • 6
  • 33
  • 47
5
votes
1 answer

subview wantsfullscreen leaves 20px at top when rootviewcontroller is ECSlidingVIewController

Im using an ECSlidingViewController as the RootViewController In this i load a UINavigationController that eventually drills down into an image gallery. the image gallery sets the stastusbar and navigation bar to be translucent and sets…
Travis Beck
  • 1,128
  • 9
  • 21
4
votes
1 answer

NSInvalidArgumentException "Unrecognized selector sent to instance" (using MPMoviePlayerController)

Well, I have a TableView in a RootViewController with a DetailViewController for the display of the information of the single record. In the Detail page i have to play a multimedia file and i'm using the framework MediaPlayer, according to this…
4
votes
1 answer

UINavigationController custom transition animation on Back button

I made a custom transition in UINavigationController, code I used: SecondView *newView = [[SecondView alloc] initWithNibName:nil bundle:nil]; [UIView beginAnimtaions:nil context:nil]; [UIView setAnimationDuration:1.0]; [UIView…
Houranis
  • 73
  • 2
  • 4
4
votes
3 answers

IllegalArgumentException: Navigation action/destination packagename/action_xxx cannot be found from the current destination

I am having an issue with the Android Navigation Architecture component when I try to navigate from one Fragment to another within a viewpager, I get this error: java.lang.IllegalArgumentException: Navigation action/destination…
afhamu
  • 930
  • 11
  • 17
4
votes
0 answers

How to Design NavigationController for mac/cocoa App?

I want to design navigation flow for mac app (Cocoa Desktop app) same as NavigationController with a Navigation bar and Back button. And also push/pop actions. Same as mac AppStore navigation. Attached screenshots for quick reference. Is there any…
EXC_BAD_ACCESS
  • 2,699
  • 2
  • 21
  • 25
4
votes
2 answers

Android Navigation Component - OnNavigateUpListener

I would like to attach a callback to when the Android Navigation Controller navigates up from a specific fragment (findNavController().navigateUp()). How can I achieve this functionality? I've already heard about…
4
votes
1 answer

navigationController is nil,when push the viewcontroller

There are three viewController, MainViewController ViewControllerB and ViewControllerC. MainViewController will be loaded when the app launch. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary…
Ran
  • 303
  • 1
  • 3
  • 15
4
votes
2 answers

Add new bar button in Navigation Bar with a Tab Bar Controller Swift

I have the next structure in swift 3: Navigation Controller -> Tab Bar Controller -> 4 View Controllers I have 3 commons bar buttons items. My problem is, in just one of the view Controllers I want to add new bar button item on the top-right corner.…
Pablo Garcia
  • 361
  • 6
  • 23
4
votes
0 answers

How to transparent background when pushViewcontroller

how to transparent background when pushViewcontroller?? just like.. modal view over full screen (programmatically, not using storyboard, not using present modal) first view controller > Button Action > let transition = CATransition() …
Michael Park
  • 105
  • 1
  • 2
  • 5
1 2
3
33 34