I want to get "ServerDate" on back4app.com using PFCloud. Currently I am facing the below issue:
Invalid function: "getServerDate" (Code: 141, Version: 1.13.0) When i used below code:
[PFCloud callFunctionInBackground:@"getServerDate"
withParameters:nil block:^(id object, NSError *error)
{
if (!error)
{
NSLog(@"%@",serverDate);
}
else
{
[self getServerCurrentDate];
}
}];
I am beginner Please Explain How to implement and get javascript code on objective c?