Questions tagged [uitabview]

UITabView is a common misrepresentation of UITabBarController, which is a specialized iOS view controller that manages a radio-style selection interface.

UITabView is a common misrepresentation of UITabBarController, which is a specialized iOS view controller that manages a radio-style selection interface. The view that contains the tab images and text is not directly exposed by the iOS SDK, instead you define the controllers, text, and images associated with each tab option and the system takes care of its display and touch responses.

Please use the tag when referring to the user interface of a tab-based view controller container on iOS.

76 questions
17
votes
4 answers

Making TabView not translucent on SwiftUI produces a new view on top

Hello everyone. I'm creating a simple SwiftUI app and I'd like my app's TabView to have a custom background and not be translucent. To achieve this I use UITabBar.appearance().backgroundColor = Color and UITabBar.appearance().isTranslucent = false,…
amodrono
  • 1,900
  • 4
  • 24
  • 45
8
votes
0 answers

SwiftUI TabView Rearrange Tab Order Preservation

It looks like Apple's TabView supports rearrangements automatically, but it quickly loses a rearrangement after you click on a tab. Here's my playground code. import SwiftUI import PlaygroundSupport struct ContentView: View { @State var arr =…
joehinkle11
  • 491
  • 1
  • 4
  • 9
8
votes
4 answers

Navigation title not showing on view with tab view controller, but "back" navigation works

I'm relatively new to iOS Objective-C development, and I've come across a problem that I can't find a solution to. I have a Table View Controller, with two prototype cells on it, which populate fine. This Table View Controller is one of three Tab…
edparry
  • 688
  • 1
  • 10
  • 34
7
votes
3 answers

SwiftUI PageTabView in iOS14.2 will Recall ChildView onAppear method Many times

I use TabView PageTabViewStyle with SwiftUI to display a pageview, when I swipe this TabView I find child view will Recall onAppear method Many times, Can someone tell me why? This is my code import SwiftUI struct Pageview: View { …
wanbo
  • 868
  • 9
  • 24
7
votes
3 answers

Right bar button not appearing in iphone 6 and 6+

I am trying to add a Right bar button in my tabbar's navigationbar, and its working fine in iphone 5 and 5s device and all simulators. But its not showing up in iphone 6 and 6+ device.However its working fine on simulator of iphone 6 and 6+. Here is…
6
votes
2 answers

How do I make a view that stays onscreen when the main view segues?

How do I make a view that does not appear to be reloaded (stays onscreen) every time a view segues? Like the audio controls in Apple's iOS podcast app. See pictures to see audio controls I am referencing. How do I do it in storyboard?
Hairy
  • 393
  • 1
  • 10
6
votes
2 answers

Pushing a navigation controller after a modal view controller is presented

I have a tab view controller which has a button like so and when it gets pressed a modal appears: PostViewController *post = [[PostViewController alloc] init]; // [self.navigationController pushViewController:post animated:YES]; //…
cdub
  • 24,555
  • 57
  • 174
  • 303
5
votes
2 answers

How can I create a tab view programmatically on iOS

For an iPhone app how can I create a tab view programmatically, preferably in Objective-C?
Kiran
  • 1,289
  • 3
  • 15
  • 25
2
votes
1 answer

Sharing a scene/view layout between two tab items in a tab-based application

I have a tab-based application, and I want to reuse the same view layout for two of the tabs. The views share the same UIViewController subclass, but it seems they can't share the same scene/layout in my storyboard. I can't put two tab items in one…
pojo
  • 5,892
  • 9
  • 35
  • 47
2
votes
2 answers

perform a method every time a tab is selected

I have tabview based project. how can I make a view connected to a tab perform a certain method every time the tab is selected? Please help, Thanks
Mona
  • 5,939
  • 3
  • 28
  • 33
2
votes
1 answer

Where I can find a repository of iPhone images?

There are a lot of things I'm bad at, but drawing probably tops the list. I'm looking for a decent size repository for iPhone tab icons. Something similar to Wikimedia commons (I ask this as I'm waiting for fink and GIMP to install). Any suggestions…
Rasman
  • 5,349
  • 1
  • 25
  • 38
2
votes
1 answer

As soon as I make a connection between my code and interface, my tab crashes (iOS SDK 4.2)

Using XCode 4, with the iPhone iOS 4.2 Hey everyone, I'm using a tabBar interface for my new app that I'm trying to finish. I have declared the UILabels and as soon as I connect them in the interface builder to the actual labels, the whole app will…
TowBoat911
  • 101
  • 1
  • 7
2
votes
3 answers

Push UITabViewController from UIViewController is possible?

my app first viewController is UIViewController. and when user click button firstView disappear and push UITabViewController is it possible? i can't find how to push UITabViewController from UIViewController.
seapy
  • 878
  • 2
  • 13
  • 24
2
votes
3 answers

Custom cell contents overlapping in UITableView

I know this question is already asked many times, but my problem is some different. I am creating a UIView and a UIImageView programmatically in cell's content view. When TableView appear first time it looking perfect, but when i scroll down and up…
2
votes
2 answers

Allow change of orientation to landscape for only one tab in UITabViewController

Is this possible? How might I accomplish this?
esreli
  • 4,993
  • 2
  • 26
  • 40
1
2 3 4 5 6