Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#import "HFAppDelegate+FBAuthentication.h"
- (void)viewDidLoad {
[super viewDidLoad];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(sessionStateChanged:)
name:HFSessionStateChangedNotification
object:nil];
}
- (void)viewDidUnload {
[super viewDidUnload];
[[NSNotificationCenter defaultCenter] removeObserver:self name:HFSessionStateChangedNotification object:nil];
}
#pragma mark - Helper Methods
- (void)sessionStateChanged:(NSNotification*)notification {
// A more complex app might check the state to see what the appropriate course of
// action is, but our needs are simple, so just make sure our idea of the session is
// up to date and repopulate the user's name and picture (which will fail if the session
// has become invalid).
}
@Favorwilliams

This comment has been minimized.

Copy link

commented Apr 15, 2014

My Pleasure to write you,
My name is Favor Williams,
My email address is
( Favor24@live.com)
Am interested to know
more about you,
Contact me for my
photo and other
important issue via,

Favor24@live.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.