Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Adding PlainNote into a TabBar Project

StoreboughtmilkStoreboughtmilk Posts: 121Registered Users @ @
edited March 2012 in Tutorial Requests
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)
Post edited by Storeboughtmilk on

Replies

  • sabanimsabanim Posts: 2New Users
    edited March 2012
    Did you get this working? I am having the same issue.
  • sabanimsabanim Posts: 2New Users
    edited March 2012
    Got IT!
    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 *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath method
Sign In or Register to comment.