Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
120 views

In iOS 26 navigationItem.searchController.searchBar.searchTextFIeld.backgroundColor is only affected if navigationItem.hidesSearchBarWhenScrolling is set to false (which is not what I want). However, ...
Merricat's user avatar
  • 2,890
0 votes
1 answer
269 views

I've sample code for the reference which works fine prior iOS 26 but not in iOS 26. class SampleViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() ...
Chetan Prajapati's user avatar
4 votes
2 answers
1k views

After updating my app for iOS 26, the navigation item title stopped working when using large title and scrolling. Before the update, the large title was shown and when scrolled up, the normal small ...
Philipp Rosengart's user avatar
2 votes
1 answer
590 views

Is it possible to disable automatic color inversion in iOS 26 UINavigationBar which triggered by the system depending on background? Can't find any new method in documentation for that. This is for ...
nemissm's user avatar
  • 471
0 votes
1 answer
22 views

I received a rather ominous warning that my app must be upgraded to support Scenes. So I updated it based on the approach specified in Apple documentation (Managing your app’s life cycle and ...
JeffB6688's user avatar
  • 3,890
1 vote
2 answers
91 views

I have a UIBarButtonItem assigned to navigationItem.rightBarButtonItems, and I would like the user to be able to tap all the way over to the right edge and have it respond. The Apple Notes app does ...
Elijah's user avatar
  • 8,650
0 votes
0 answers
35 views

I would like to replicate the back button transition seen in apps like the App Store or Apple Music. Specifically, I want to animate a custom-shaped back button into the default back button during ...
Kngw Kngw's user avatar
  • 123
1 vote
2 answers
84 views

I'm using a UINvagigationController for my app, with every page setting their own title and left and right buttons. Worked perfectly until I needed two buttons to the right. Just setting them as bar ...
Afinainflowers's user avatar
0 votes
1 answer
72 views

In the final viewcontroller of my application, I use popToMainViewController to go back to the first view controller. When the method is called, customized rightBarButtonItems is not displayed. ...
nakim81's user avatar
0 votes
1 answer
113 views

I just need to change the background colour of navigationItem and barButtonItem in my app. I have tried so many methods in stack overflow but none of them worked. I have also tried in my storyboard by ...
VizVyz's user avatar
  • 63
-1 votes
2 answers
275 views

I have UINavigationItem with UISearachController; #warning - addded UISearchController self.searchController = [[UISearchController alloc] initWithSearchResultsController:nil]; self.navigationItem....
Vitalik's user avatar
  • 936
0 votes
2 answers
69 views

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
0 answers
37 views

I can make search bar in navigation item partially visible when I Scroll the tableView, But I want only fully visible or fully hidden. I couldn't make searchBar partially visible in any other iOS Apps ...
JN0514's user avatar
  • 11
2 votes
1 answer
603 views

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
2 answers
172 views

I am trying to change the text color of the rightBarButtonItem item text and it blue by default . I am trying to change it to black . My current code for that is: self.navigationItem....
Michael Drammond's user avatar
0 votes
1 answer
63 views

I have a problem with my navigation bar items. They both have a target to push a view controller, but the problem is that when I go back to the root view controller by dragging to the right, the ...
Eloi Canals Pascual's user avatar
0 votes
2 answers
360 views

I am working on an iOS app which presents a viewcontroller modally. This viewcontroller is embedded in a navigation controller. However on iPhone 12, iPhone XR the navigation title, Done and Back ...
es1's user avatar
  • 1,696
0 votes
1 answer
52 views

Added circular button on self.navigationItem.leftBarButtonItem for specific UIViewController of a TabBarcontroller after switching one tab and getting back to specific tab. The circular button is ...
kiran's user avatar
  • 4,399
1 vote
1 answer
1k views

Recently I getting e wired problem When I run my application from XCode navigation title text is showing perfect. But when I close the application and reluanch again text cuts off with ... I tried ...
Mahbubur Rashid's user avatar
0 votes
2 answers
901 views

public override func viewDidLoad() { super.viewDidLoad() navigationItem.backBarButtonItem = .init(image: "back_icon".image, style: .plain, target: nil, action: nil) } For this above ...
Arun Srithar's user avatar
1 vote
0 answers
75 views

My code has a Tab Bar Controller and switches between 2 Scenes with their own View Controllers. The Navigation Item on top is the same on both, but I want to have different navigation item content, ...
Emdetto's user avatar
  • 102
0 votes
1 answer
219 views

I've been seeing this crash in logs, but unable to reproduce. It occurs when I pop to previous UIViewController in navigation stack, and that view controller had a custom titleView set. I haven't been ...
DANGERZONE94's user avatar
1 vote
1 answer
174 views

I’m trying to get the tableView to move up when the search bar does. Take a look at the problem: I think I see what the issue is here, but I can't think of a solution. In SearchResultsUpdating I have ...
jmsapps's user avatar
  • 498
0 votes
1 answer
909 views

I want to apply UINavigation custom background image and back button image also for iOS 14 everything is working fine but as I try to run the app on iOS 15 back button image not working instead it's ...
Sanjay Mishra's user avatar
1 vote
1 answer
203 views

For some reason, when I set UITableViewController navigationItem.searchController with a UISearchController, it doesn't take it. Here is my code: let searchController = UISearchController(...
daniel's user avatar
  • 1,036
0 votes
0 answers
34 views

I am using a PDF image for a UINavigationBarButtonItem, but the text from the image is not displaying on the button, and I do not know why. Do I need to use and SVG image format? let liveIcon = ...
Noah Iarrobino's user avatar
0 votes
1 answer
89 views

How can I change the back button of a certain navigation controller. I have tried to use override func viewDidLoad() { super.viewDidLoad() navigationItem.backBarButtonItem?.tintColor = UIColor....
Chamoy's user avatar
  • 51
0 votes
1 answer
669 views

I am using MVVM+C pattern to build my app. Currently I am facing a problem with changing the native back button title and image of navigation bar to the custom image without the title. I've tried a ...
Peter Hlavatík's user avatar
1 vote
2 answers
3k views

For an iOS 14+ app I'd like to use navigationItem.backButtonDisplayMode = .minimal to hide the back button title, while still having the title available in the back button's long-press menu. Which ...
Kevin Renskers's user avatar
0 votes
1 answer
1k views

I try to programmatically add UINavigationBar in my viewController, however I got the markup issue which makes my navigation bar title move to the top border of the safe area and I wonder how to move ...
Kostya M's user avatar
  • 204
0 votes
1 answer
472 views

I am adding custom navigation item to my application. But every time I navigate the items of navigation item overlaps. My code is func fixNavBar(){ self.navigationItem.setHidesBackButton(...
Usman's user avatar
  • 181
2 votes
1 answer
423 views

It seems that I can't set navigationItem.largeTitleDisplayMode = .always unless I also set navigationBar.prefersLargeTitles = true? Is this intended behavior? I'm having a really hard time believing ...
lufinkey's user avatar
  • 390
4 votes
3 answers
783 views

I have a very simple setup. A UINavigationController with a root UIViewController that modifies its navigation item with a custom back button item on viewDidLoad. let backButton = UIBarButtonItem(...
stego's user avatar
  • 69
1 vote
0 answers
56 views

I am having MasterViewController and it has childView as UITabBarController. UITabBarController has navigationcontroller as tab bar item. Both MasterViewController and TabBarItem ViewController ...
Amit Gajjar's user avatar
0 votes
2 answers
443 views

My navigationItem.title behaves in a strange way. When the viewController is pushed on to stack the title is not showing (top image). However, while viewController gets popped, the title becomes ...
Dan Abnormal's user avatar
  • 1,248
0 votes
0 answers
743 views

I just read a bit on how to use UISearchControllers, and I want to figure out how I can make it show up with the click of a button, and make it disappear fully when the cancel button is pressed. Here ...
dsonawave's user avatar
  • 167
1 vote
3 answers
1k views

The large title of navigation item comes out when the app just describes execution. However, when I move to another page and come back, that mode is turned off. Create a viewDidLoad for each page as ...
장주명's user avatar
0 votes
0 answers
850 views

I have a current SwiftUI View with a Navigation Bar item . I created a Back Button on this current view so that the title is not inherited from the previous view (NEWSview) with list of news websites ...
Kim Derek Chihoon's user avatar
1 vote
1 answer
1k views

I have a button that i want it have the < back icon and also back text to it . This is what i did: Text("\(Image(systemName: "chevron.left"))Back") I am getting this error: ...
Abd Dash's user avatar
0 votes
0 answers
40 views

I want to thank in advance for your help. My issue is that I'm trying to set the title as a attributed String. I'm using the Storyboard and I have embedded the rootViewController in a ...
Stefan Postolache's user avatar
0 votes
3 answers
1k views

Hi I'm working on an iOS Swift project in which I want to show users profile picture in the navigation bar as rounded. I tried lot of sample code, but it is not making rounded curve. Please help me. I ...
Hilaj S L's user avatar
  • 2,046
0 votes
1 answer
157 views

When I scroll on tableView, the navigationItem is not hide and move a little to bottom. i tried it on lower version (iOS 13, iOS 12), however this issue is happen on iPhone 11 (iOS 14). I searched any ...
Le Minh's user avatar
  • 165
0 votes
1 answer
222 views

I want to make my backBarButtonItem to be only < , without back. I have searched stackOverflow and found some solutions, but it stays < back. I tried this in my pushed VC: navigationItem....
stackich's user avatar
  • 5,583
0 votes
2 answers
1k views

What I have: self.title = "Title" navigationController?.navigationBar.prefersLargeTitles = true self.navigationController?.navigationBar.largeTitleTextAttributes = [NSAttributedString.Key....
stackich's user avatar
  • 5,583
0 votes
0 answers
428 views

I am trying to add a search bar to my table view so it can filter settings for the user. The only problem is it is initially hidden when the view first loads, giving no indication it is available. It ...
Alex's user avatar
  • 700
2 votes
1 answer
1k views

I have seen similar questions, but those questions are all very old. I'm trying to hide the 'back' button in my ViewController. Now, it looks like this: https://www.dropbox.com/s/ipmbqgxji574j06/...
M. Tol's user avatar
  • 65
1 vote
1 answer
952 views

I am trying to add a a user's image and name to a navigation bar to look like the following: I am attempting to do this programmatically, as my codebase doesn't use xibs or storyboards (except for ...
daredevil1234's user avatar
0 votes
2 answers
62 views

Inside of my view controller I have a navBar with an item on the left side and right side. I also have 2 buttons inside of the view controller. I have it so each button does different functionality. I ...
justADummy's user avatar
0 votes
0 answers
25 views

I make a navigation bar programmatically without a navigation controller. The problem is when I add a navigation item, they are displayed very high. Help solve. The screenshot shows how it looks ...
Mospy's user avatar
  • 31
0 votes
1 answer
715 views

I just noticed this issue in my app. I don't wan't to have Large titles at all, so this is the code that I'm calling in my viewDidLoad()... //MARK: - Navigation Bar Setup func navConAcc() { ...
user avatar

1
2 3 4 5
23