photo in Top Place Table?
Currently, I am setting my Recently Viewed Table Data Source in "-
(void)viewWillAppear:(BOOL)animated", which work for first time when
the application is launched. But it does NOT work when user views a
new photo at Top Place Tab.
I am getting the NSUserDefaults' Recently Viewed Photo List at
viewWillAppear. And I update NSUserDefaults at Top Place Tab.
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.recentlyViewedPhotos = [[NSUserDefaults standardUserDefaults]
objectForKey:RECENTILYVIEWEDPHOTOS_KEY];
}
--
You received this message because you are subscribed to the Google Groups "iPhone Application Development Auditors" group.
To post to this group, send email to iphone-appdev-auditors@googlegroups.com.
To unsubscribe from this group, send email to iphone-appdev-auditors+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/iphone-appdev-auditors?hl=en.



0 comments:
Post a Comment