id topLayoutGuideObj = objc_msgSend(viewController, @selector(myselector));
\"Too many arguments to function call, expected 0, h
I have checked it out, the main problem was as @Jerry Krinock said in comment of accepted answer;