Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tab Bars

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa
Mac Cocoa  
Author Message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3026
Location: Europe

PostPosted: Sat May 02, 2009 7:44 pm    Post subject: Tab Bars Reply with quote

so - Adding UITabBar

"Hi, I have a UINavigationBar based application - only a one navigation bar
that is handling all the work with views in my app.

And I want to have a tab bar at a bottom part of every view that will take
the user to whatever view he would like to go."
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3026
Location: Europe

PostPosted: Sat May 02, 2009 8:30 pm    Post subject: Reply with quote

iphonedevsdk.com - Tab Bar Controller - Navigation Controller - TableView

"Create your tab bar controller programatically, and your navigationcontro-
ller programmatically too.

Then create a UITableViewController and add that to the NavController cre-
ated in the App Delegate. Add that NavController to the Tab Bar Controller.
Add the Tab Bar Controller's view to the window."
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Thu Sep 24, 2009 1:34 am    Post subject: Reply with quote

iphonedevsdk.com - Navigation Controller on select Tabs only - with
TabController as primary


"You add view controllers to navigation controllers, not the other way aro-
und.

For the tab that needs navigation, in your XIB file that contains the tab bar
controller, delete that tab (view controller). Grab a navigation controller fr-
om the palette and drag it to the same spot. Crack open the navigation c-
ontroller, find the view controller inside it, and set that to be your custom
view controller class."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Fri May 18, 2018 8:46 pm    Post subject: Reply with quote

so - Restrict Rotation in Tab Bar View Controllers

"If I return 'NO' I cannot rotate when I'm in the view controller, but when I
select it, it does not automatically rotate to portrait. If I return 'YES' I can
rotate when I'm in the view controller, but when I select it, it automatically
rotates to portrait."
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group