failed to conform: topmost class must be equal to CCFBLogin class
now the root view controller of application is conroller for login
have no button to login
button is presented on view controller
button don't receive to selector @selector(performLogin)
trying to check application is in background after button pressed
after some researching i decide that compare some variable with application state is not correct and my profot is checking whether session on FB authentication is open
trying to get token key from app
for now i can get information about session and token if user is logged in app
from this time for getting token failed i have one more solution - show alert view and close application on user tap or take a chanсe to login again
check: if session is open, then root view controller must be tab bar, if session is closed - root view controller should not be the tab bar
if session is open i designate root view controller tabbar and if no session in this time - rootview controller is loginController
create new branch ticket#1