our app is supporting Arabic language. Is there a way to support right to left on the UITabBar or how do you guys handle RTL for tabbar items?
I've tried swapping them manually, but the viewcontrollers get disconnected since I'll have to re-assign new viewcontrollers to the self.viewControllers array.
Related
So I have an app with four tabs.
The language on the tabs (danish) are different from the one on my phone (English).
Handling accessibility in the app, this is of course a case I'd like to handle.
And it works everywhere in the app except for the tab bar items.
Buttons, labels etc. are being read properly in danish, when setting someItem.accessibilityLanguage or someLabel.accessibilityLanguage.
When I'm trying to do the same with the tab bar items, nothing seems to work.
I've tried view.tabBarItem.accessibilityLanguage = "da" + setting .accessibilityLanguage on the view itself, the tabBarController, the tabBar and even the navigationController that the view is added to.
Is this intended behaviour from Apple? A bug? Or am I doing something wrong?
When setting view.tabBarItem.accessibilityLabel to various texts it works. So it's definitely registering my changes and not just reading the title that is set for the actual label on the tab bar item.
I am new to objective C. As we have fragment tabs in Android, so that only a part of activity( background remaining same) changes, what is to be used to replicate the same in ios with tabs on top in a view controller ? Any suggestions would be great Thanks
You can use the Tab Bar Controller as described here : https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/ViewControllerCatalog/Chapters/TabBarControllers.html
Note that the tabs (fragments) are at the bottom as opposed to android
You could use TabBarController. In tabbar controller, each tab is independent
I dont know a lot about Android code but if in Android, you have Activity -> ios have ViewController and each TabBar could control a ViewController. So you could do a part of activities changes.
In other hand, you could custom the tabbar Icon for your self!! Refer to:http://felipecypriano.com/2012/02/27/how-to-customize-uitabbar-on-ios-5/
I've downloaded an Download Manager from App Store and noticed that the app scrolls an UITabBar,like: When the user press a button the bar walks left and show other option to the user.Is that really possible and does Apple accept these type of customization in UITabBar?If it's possible how can i do that,please provide some sample code or reference.
Yes, possible. but not using usual UITabbar. you have to create custom tabbar that behave the same. there are projects out there that you can use, save a lot of time of your work.
infinitetabbar : A scrolling tab bar with space for infinite items
jsscrollabletabbar : JSScrollableTabBar is a simple, refined tab bar UI control that resembles the TabStrip found in the popular Three20 library but without any of the dependencies.
It is probably a custom-made control (a scroll view with a few child buttons). It's perfectly acceptable at the Store if you don't use any undocumented functions.
Yes, you can implement scrollable tabbar using UITabBar.
Adobe writer maybe thought about using only UITabBar, so he mentioned it can't be implemented, but if you use ScrollView and UITabBar, it can be implemented.
Put tabbar on scrollview, scrollview size is 320,460 (it excludes status bar size).
TabBar size is any size you want, scrollview contentsize must be equal to tabbar size.
I have a large navigation menu, like a website header(Top logo, Bottom some menu buttons.) and this navigation menu must shown in every view of my application (like a masterpage, header(this navigation) will be static but content will change). What is the best way to represent this menu in my application?
I thought UINavigationBar may be appropriate but I am not sure about it. Can I customize it that much?
totally depends on how much is 'that much'.
you can use UIToolBar for more customization that what UINavigationBar allows, but you'll have to do some extra work in getting that functionality to match that of a nav bar,
or use a customViewController that has this largeNavigationMenu, and use it as a baseClass for all viewControllers you are using in your app.
You basically need to use some kind of container controller. Either a UINavigationController, a UITabBarController or maybe something custom like a drawer menu controller. Depends on the app design.
I'm developing an ios app based on a storyboard.
Anyone knows how can I define a toolbar that will exist over the entire application?
I would like to use the graphical editor to design it.
My first attempt was to design the toolbar over the navigation controller (the first one on the storyboard), and i can see the toolbar over other views but without bar buttons.. (bar buttons that i have designed on the toolbar of my navigation controller)?!
Toolbars can be populated via a NSArray. You could just have a toolbar for each view and pass the array when segue is called. Just as you pass anything else.