Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 07-24-2011, 11:53 AM   #1 (permalink)
Registered Member
 
Storeboughtmilk's Avatar
 
Join Date: Jul 2011
Posts: 117
Storeboughtmilk is on a distinguished road
Exclamation Adding PlainNote into a TabBar Project

I have been trying for a week to add PlainNote (open source notes app) into a simple tabBar project with little success. I can get Plain note to open in a tab but it is missing a button that I cannot for the life of me get to appear on the UI Navigation bar of the list. Whats crazy is that the edit button shows up, just not the add button (Right side).

Can anyone please explain what I might be doing wrong.

-Andrew

Please see the picture below to see what I mean (missing right bar button)
Attached Images
File Type: jpg Screen shot 2011-07-24 at 7.54.06 PM.jpg (8.4 KB, 6 views)
Storeboughtmilk is offline   Reply With Quote
Old 03-16-2012, 12:38 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2012
Posts: 2
sabanim is on a distinguished road
Default

Did you get this working? I am having the same issue.
sabanim is offline   Reply With Quote
Old 03-16-2012, 02:19 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2012
Posts: 2
sabanim is on a distinguished road
Default

Got IT!

Code:
UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd 
                                                                               target:self 
                                                                               action:@selector(addButtonPressed:)];
    self.navigationItem.rightBarButtonItem  = addButton;
    [addButton release], addButton = nil;

add that to the rootviewcontroll.m in the (UITableViewCell *)tableViewUITableView *)tableView cellForRowAtIndexPathNSIndexPath *)indexPath method
sabanim is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 447
17 members and 430 guests
ahmedozcan, baja_yu, Droverson, iAppDeveloper, ipodphone, jasper_muc, JoeRCruso, karatebasker, laureix68, LunarMoon, PapaSmurf, peterwilli, pipposanta, Rudy, SLIC, SuperDietGenius, vogueestylee
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,696
Threads: 94,139
Posts: 402,963
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:13 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0