Questions tagged [uinavigationbar]

The UINavigationBar class implements a control for navigating hierarchical content in iOS. It’s a bar, typically displayed at the top of the screen, containing buttons for navigating up and down a hierarchy. The primary properties are a left (back) button, a center title, and an optional right button. You can specify custom views for each of these. The most common way to use a navigation bar is in conjunction with a UINavigationController object

Filter by
Sorted by
Tagged with
1 vote
0 answers
46 views

Image not positioning to the left in NavBar

I am adding a logo in my navbar to the left in Swift but it doesn't align to the left. Instead, it's coming towards the centre. private func configureNavbar() { var image = UIImage(named: "...
Abhimanyu Dhull's user avatar
0 votes
0 answers
30 views

Swift changing UINavigationBar's shadow affects its UIBarButtonItem when appearance change

I'm trying to update the UINavigationBar's shadow like this func setCustomShadow() { self.layer.shadowColor = UIColor.red.cgColor self.layer.shadowOpacity = 0.1 self.layer.shadowOffset = ...
Dylan's user avatar
  • 1,121
0 votes
0 answers
19 views

Adding a global shadow in Navigation Bar

I would like to ask how can I add a global shadow in my navigation Bar. I tried several methods that I've seen here in stack but some of them are not working. Some of the codes shows a shadow and ...
tita tito's user avatar
0 votes
1 answer
20 views

Flutter Navigation bar inside stateless widget

I am trying to implement bottomNavigationBar on the screen, which is initially extends Stateless widget. Because of that I obviously cannot use onDestinationSelected: (index) => setState(() =&...
Elena Epshtein's user avatar
0 votes
1 answer
20 views

CustomNavigationDrawer not working when using curved navigation bar in flutter project

Please help with my project when I add child: getSelectedWidget(index: _selectedPage) The botom bar works and pages appear without problems, but the sidebar (CustomNavigationDrawer) does not work ...
عمر الصياد's user avatar
0 votes
1 answer
11 views

Uno NavigationBar not displaying label

I am using UNO NavigationBar for a windows and WASM app. This is the code: <utu:NavigationBar x:Name="navBar" Background="{StaticResource NavigatorBkgColor}" Content=&...
Robotuner's user avatar
  • 221
0 votes
0 answers
13 views

Navigation Bar No Longer Showing from Storyboard in Controller - Swift (Updated View Controller To Handle Opening Links WEBVIEW)

With the following code, I was able to display my Navigation Bar build on Storyboard, however, andy URL links would not open and were dead. I found my ViewController needed a way to handle using a ...
Derek Sheldon's user avatar
0 votes
0 answers
21 views

How to hide the navigation bar after the soft keyboard is closed in android studio?

I am currently working on an Android app using Android Studio and I'm facing a persistent issue that I cannot seem to resolve. The problem arises when I open the soft keyboard while interacting with ...
Krai's user avatar
  • 1
0 votes
0 answers
15 views

TableView Scrolling Weird Behavior with NavigationBar

I am facing an issue and read almost all the related topic in StackOverFlow. When keyboard open in chat VC nav bar moves up. When I do scrolling behavior it's going blurry to translucent. I just want ...
Ugur Usta's user avatar
0 votes
0 answers
10 views

Navigation Bar doesn't increase height when UISearchBar is embedded with largest text size in iPad

I am supporting DynamicType in my application. In one of my search screen I have UISearBar set as navigationItem.titleView. It works fine when text size is normal. But when we increase text size to ...
Yuvrajsinh's user avatar
  • 4,536
0 votes
1 answer
46 views

UINavigationBar prefersLargeTitles = true, .navigationItem.largeTitleDisplayMode = .always Ignored when scrolling

I have created a very basic UITableViewController within a UINavigationController and I want to keep the title large even when scrolling. In the nav controller, I have set the nav bar ....
Mof's user avatar
  • 363
-1 votes
1 answer
27 views

Hide navbar item for logged in users with JavaScript

I need help for login status change on my website. So basically I want an item on the navigation bar (let's say class name is "nav-item-3") to be visible to logged in users, but invisible to ...
Rumeysa Gelgi's user avatar
0 votes
1 answer
40 views

I also want to change the background color of the Navigation Bar while it is fixed. How can I do?

I'm developing a notes application and I want the colors of the notes to match the color of the Navigation Bar. When I set the color of the Navigation Bar, the color appears only when I scroll the ...
BurakEryvz's user avatar
1 vote
0 answers
38 views

Multi line Large Title shows only first line in navigation bar with back button

Please tell me how to add a multi-line title in the navigation bar with a back button for iOS 16.4. I have already read all the discussions on Stack Overflow regarding similar topics. I have tried ...
Aysen  Eremeev's user avatar
1 vote
0 answers
30 views

How to implement a toolbar for a TextField in a new view linked to a NavigationView

END GOAL: Have a toolbar pop up on top of the keypad to finish inputting number. I am running into an issue where in my main view I have a NavigationView to different "scenes/views" and in ...
Brice Brown's user avatar
0 votes
1 answer
49 views

UINavigationBar Scrolling behaviour is not working properly

UINavigationBar scrolling appearance behaviour is not working properly in one screen where i use UITableView within UIStackView. In other screens where Only UITableView used there Scrolling behaviour ...
steveSarsawa's user avatar
  • 1,558
0 votes
0 answers
179 views

Is there a way to dynamically change the navigation bar title color inside NavigationStack in SwiftUI

I'm developing a simple application and one of the settings lets the user select an application theme. By selecting one of them every icon and navigation back button's foreground color changes to that ...
Fil's user avatar
  • 1
0 votes
1 answer
85 views

Add custom view(xib) as navigation bar ios

I am tring to show a custom view as navigation controller. I have created the view seperately as the design is complex. How can I integrate this view in place of navigation bar. The height of the view ...
Faheem Rahman's user avatar
0 votes
2 answers
391 views

How to fix a sidebar navigation on Laravel? Code working on Laravel 5 but not 10

Themes and sidebar didn't appear and only text and list appear there. Everything else just working fine, including links. It was just UI/UX didn't came out as expected. Screenshot of the problem dash....
Kholid Syaifullah's user avatar
1 vote
0 answers
80 views

Updating additionalSafeAreaInsets causes weird issues such as ambiguity in the Navigation bar and unnecessary white space above the Navigation bar

We have an Offline Data Synchronization in our application. When we have any pending transactions [i.e. transactions made offline], if the device is online, we sync those activities to the server. ...
Praveen Kumar's user avatar
0 votes
1 answer
241 views

SwiftUI: How to make navigation bottom bar bigger

I would like to put a big button in my navigationBottomBar. Just like in this view from Apple: Or like this: But if I just put a button in the navigationBottomBar like this: .toolbar { ...
IOSCodingMax's user avatar
0 votes
0 answers
11 views

Navigation bars in apps

I recently noticed that the navigation bars on my iPhone changed and now a square is displayed around the icons. How do I change it back to normal?enter image description here I searched in the ...
spyros's user avatar
  • 1
0 votes
2 answers
48 views

Hide Navigation Item but show Back Bar Button

Now, I will put an image at the top of the screen in the design I created. However, the Navigation Title area is displaying the image in white color. Since I need the back button, I want to move the ...
yselimguner's user avatar
0 votes
1 answer
31 views

Realization of an external bottom bar

currently I'm trying to realize a bottom bar different from standard.(like in the attached picture) Bottom bar I want to realize this for an Android App. I have all with gradient etc. [Icon with ...
Ben's user avatar
  • 3
0 votes
0 answers
34 views

iOS Back button item not showing custom image after MacOS update

I have a piece of code in my project that sets the back button item of a navigation item to a custom image, like this: class BaseNavigationViewController: RTRootNavigationController { override ...
Polina Balygina's user avatar
0 votes
1 answer
25 views

I was not getting sign in and signup button in one line for navigation bar when trying to clone Usabilityhub website

I was unable to make sign in button and other navigation links in the same line. @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto:wght@400;700&...
Naveen Pavirala's user avatar
0 votes
0 answers
34 views

How to make a button navigate between screens

Can you make a navigable button to go to a different screen? I made a login screen and want the "login" button to be pressed and then take users to a different screen. I would also like for ...
Michaela Zeno's user avatar
1 vote
0 answers
96 views

Matplotlib Toolbar is not displaying icons in PySimpleGUI or Tkinter

I have followed tutorials from PySimpleGUI and from Matplotlib in order to embed the default navigation bar in the GUI. All the buttons are functional but they do not have icons they have the names of ...
USM's user avatar
  • 11
0 votes
1 answer
32 views

How do I make it so that my menu items are not overlapping in my mobile navigation?

I am making a mobile menu and my menu items are overlapping when I hover on top of them. I need it to be so that the menu items get pushed down when hovered on so that the text isn't on top of ...
Hannah De Guzman's user avatar
0 votes
0 answers
81 views

fullscreen overlay navigation on WikiJS

Fullscreen overlay navigation on a page in wikijs works on firefox. but not on chrome. Not totally that it doesnt work on chrome. it works on first try after changing something on script like changing ...
Rogem's user avatar
  • 1
0 votes
0 answers
46 views

SvelteKit: recover state after user 404

How to make robust navigation on SvelteKit, to keep app state values when a 404 occurs if user cheats the browser URL bar ? I have a complex navigation in my game app. (EDIT 3: removed / simplified ...
Hefeust CORTES's user avatar
0 votes
0 answers
33 views

How to fix logo position in imageview within navbaritem.titleview or .leftBarButtonItem in swift

I'm doing a Netflix clone & configure this navigation bar in swift UIKit & I got stuck at adding the logo on the left side of the navbar. Still, it ended in the centre whatever way i do it ...
Mona742's user avatar
0 votes
1 answer
476 views

trying to move between fragments with bottom navigation view _Kotlin

I'm trying to make a nav bar and move between fragments I use this method to move between fragments: private fun setFragment(fragment: Fragment) = supportFragmentManager.beginTransaction().apply { ...
BigBeast DGX's user avatar
2 votes
1 answer
210 views

iOS 16 additional empty space in navigation item

When I creatе the simplest titleView with iOS 16 and add it to the navigationItem I see an additional space that I cannot remove in any way. I did not have this issue on iOS 15, does anybody know what ...
s1321222's user avatar
0 votes
0 answers
26 views

Why is the Navigation Bar - Appearances - Standard storyboard setting in Xcode prioritised over code?

I had an issue where I couldn't work out why the following code (called by ViewDidLoad() on my custom UINavigationController class) was not working. In the end I worked out it was the Storyboard / ...
Lena Verhoev's user avatar
1 vote
2 answers
662 views

UINavigationBarAppearance Button tintColor isn’t working with SwiftUI (in iOS 16)

The Problem In order to customize the NavigationBar in my full SwiftUI app, I had to use a bridge to UIKit using the UINavigationBarAppearance() to change the background, title attributes, etc. Now, ...
alexkaessner's user avatar
  • 2,086
0 votes
0 answers
152 views

SwiftUI change search navigationbar background color

How do I change the background color of the navigation bar search field? init() { let navBarAppearance = UINavigationBar.appearance() navBarAppearance.largeTitleTextAttributes = [....
Chip Dickinson's user avatar
0 votes
1 answer
55 views

How to make my pop-up card display over the landing page? (Flutter)

I have a problem on displaying the pop-up card when clicking the specific Persistent Bottom Nav Bar button. I want to display it over the homepage. I have been trying my best to think of possible ways ...
Peughn's user avatar
  • 1
0 votes
2 answers
40 views

How to use setState() to change NavigationBar icons?

I am trying to change the icon shape for each item of the following custom navigationBr based on weather they are selected or not: class HomeScreen extends StatefulWidget { static const routeName = '...
best_of_man's user avatar
0 votes
0 answers
22 views

After creating a tab bar controller inside a view controller, I can't interact with the view controller that is displayed; why not?

So I can't use initial view controller for the tab bar controller because there is already one and this is way further along in the app. That is why I made a tab bar controller programmatically inside ...
florida27's user avatar
1 vote
0 answers
62 views

Apply different custom UINavigationBar styles for multiple Views in SwiftUI

I am currently struggling with defining multiple custom UINavigationBars for different Views in SwiftUI. I have defined two different appearances in my UINavigationBar extension: a default one and one ...
Anh Montag's user avatar
1 vote
1 answer
106 views

iOS: Navigation Style: Navigator, Browser, Editor

On a UINavigationBarItem in Interface Builder, there is a dropdown for the style showing: Navigator, Editor, Browser. Anyone know what this selections means and what the options do?
Jake Chasan's user avatar
  • 6,320
0 votes
0 answers
131 views

Hide default navigation bar present below keyboard in android 12 using jetpack compose

while focusing on TextField (edittext) default keyboard with navigation bar present below is opened. How to hide that navigation bar present below keyboard. This issue is with Android 12 devices only. ...
praveen Dudi's user avatar
1 vote
0 answers
130 views

Execution failed for task ':app:parseDebugLocalResources'

A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable Failed to parse XML file 'D:\main Project protypes\AndroidUberReamake\app\...
Hasmudin Raja's user avatar
0 votes
1 answer
39 views

UINavigationBar has a wide space on top of it

I honestly don't know how to fix this. I currently have a UITabBar and have implemented navigationBar and when I render my app in a simulator or a device there's a wide space on top of the navigation ...
KwameB's user avatar
  • 1
0 votes
0 answers
109 views

UINavigationBar & UIToolBar do not share the same appearance effect

I am trying to replicate the visual effect that apple uses with several of its applications where the navigation bar and a toolbar are combined. Here is an example: The peculiarity is that the two ...
Unbound's user avatar
  • 37
0 votes
0 answers
24 views

How to adjust sublayer on UINavigationController?

In my Swift project, I added a sublayer to UINavigationController. But after adding this GAGradientLayer, I can't see the navigation title text or back button. The weird thing is that in the view ...
LEE's user avatar
  • 13
0 votes
1 answer
84 views

Navigation Bar Button Not Visible

This is my modified AppDelegate func var window: UIWindow func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> ...
Mert Köksal's user avatar
0 votes
0 answers
11 views

Navigatiion Component using @mui/material not rendering [duplicate]

SOLVED: The Navigation Component placed outside the ThemeProvider renders fine. I'm not sure why because the theme works with other components but my assumption is something to do with Links being ...
anihils's user avatar
0 votes
0 answers
44 views

How to setNavigationBarHidden only on two of the three viewControllers under one tabBar controller

I'm using a tabBar controller to control three viewControllers and want to set the navigationBar hidden only on two viewControllers, but it's not working. picture of the structure of the ...
nakim81's user avatar

1
2 3 4 5
125