Xcode 4.5を使用しており、iOS5以降をターゲットにしています。
ユーザーが基になるビューの背景を変更できるポップオーバーがあります。
「ボタン」をタップするときは、2回タップして変化を確認する必要があります。
私はを使用してNSNotificationいます。委任を試しましたが、何もしません。
ヘルプやヒントをいただければ幸いです。
viewWillAppearから:
    // nav button is for background image selection
    navigationBtn.tag = buttonTag;
    [navigationBtn setBackgroundImage:[UIImage imageNamed:tempImage] forState:UIControlStateNormal];
    if (selectFlag) {
       [navigationBtn addTarget:self action:@selector(BGSelected:) forControlEvents:UIControlEventTouchUpInside];
    } else {
       navigationBtn.adjustsImageWhenHighlighted = NO;
    }
そして選択の方法:
- (void)BGSelected:(id)sender { 
    self.bgtag = [sender tag];
    SettingsDAO *settingsDao = [[SettingsDAO alloc] init];
    if ([self.currentView isEqualToString:@"New_Journal"])
    {
       NSLog(@"Update Journals Background");
       [settingsDao updateJournalBackgroundId:self.journalId withBackgroundId:self.bgtag];
    }
    // notification to let EntryView know the background has changed
    [[NSNotificationCenter defaultCenter] postNotificationName:@"aBackgroundChanged"
                                                    object:self];
    [settingsDao release];
}
NSNotificationメソッド:
- (void)aBackgroundChanged:(NSNotification *)notification {
    [self invalidate];
    [self reloadSettings];
}