can not catch a notification in iphone
<p>I am working on camera reader (ZBarReader) and notification. What I am doing is after getting  <strong>symbols</strong> type of <strong>ZBarSymbolSet</strong>, I post a notification with certain info. Then at another class, I am trying to catch a notification and then display info to the UILabel</p>

<p>BarCodeReader.m</p>

<blockquote>
  <p>#pragma mark - Conform protol of ZViewReaderViewDelegate</p>
  
  <p>-(void) readerView: (ZBarReaderView*) readerView didReadSymbols: (ZBarSymbolSet*) symbols fromImage: (UIImage*) image  {</p>

<pre><code>for (ZBarSymbol *symbol in symbols) {
    NSLog(@"type of symbol is %@",[ZBarSymbol nameForType:symbol.type]);
    barCode     =   symbol.data;
}
barCodeImage    =   image;    
textLabel.text  =   barCode;
NSLog(@"barCode is %@",barCode);

[[NSNotificationCenter defaultCenter] postNotificationName:@"NotifyScanStart" object:barCode userInfo:nil];

// Perform a transition to DisplayBarCodeViewController
[self performSegueWithIdentifier:@"goToDisplay" sender:self]; }
</code></pre>
</blockquote>

<p>DisplayInfo.m</p>

<blockquote>
  <p>(void)viewDidLoad {
      [super viewDidLoad];</p>

<pre><code>[[NSNotificationCenter defaultCenter] addObserver:self 
                                         selector:@selector(getInfo:)
                                             name:@"NotifyScanStart" 
                                           object:nil]; }
</code></pre>
  
  <p>(void)getInfo:(NSNotification *)notification {</p>

<pre><code>barCode   =   [notification object];
barCodeLabel.text   =   barCode;
</code></pre>
  
  <p>}</p>
</blockquote>

<p>Unfortunately, some how it does not work. I put 2 break points, one is at <strong>addObserver</strong> and the other is at <strong>-(void)getInfo:</strong>. I found out that the second break point is not hit at all.</p>

<p>Please advice me on this issue and point out what I am doing wrong here. Thanks</p>
