[objc] define 배열

iPhone 2013. 8. 16. 18:30



#define ARRAY @[@"array1",@"array2", @"array3"]

Posted by tenn
,




self.navigationItem.hidesBackButton = YES;

따위도 안먹고 곤란할 때.



    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];

    UIBarButtonItem *customBarItem = [[UIBarButtonItem alloc] initWithCustomView:button];

    button.hidden = YES;

    self.navigationItem.leftBarButtonItem = customBarItem;


이게 되더라..




//////

self.navigationItem

self.navigationController.navigationItem


Posted by tenn
,

http://books.google.co.jp/books?id=_n9WXhy_xjAC&pg=PA151&lpg=PA151&dq=objc+do+something+when+enter+background&source=bl&ots=ArDjYSa1qd&sig=KNYGWzmEwhuJde2Q4gtFSPoUfz8&hl=en&sa=X&ei=LjkMUpnkG4zOkwWVtIE4&ved=0CHcQ6AEwCDgK#v=onepage&q=objc%20do%20something%20when%20enter%20background&f=false

Posted by tenn
,