parse-framework

Sending Push Notification from mobile to particular user using parse [Parse IOS]

折月煮酒 提交于 2019-12-07 18:43:43
问题 I have saved user pointer in instalation class. Web backend shows 0 subscribers I am sending notification using below code PFQuery *qry = [PFUser query]; [qry getObjectWithId:friendObject.objectId]; //friend object is ok like @"Fefl5x7nhl" PFQuery *pushQuery = [PFInstallation query]; [pushQuery whereKey:@"user" matchesQuery:qry]; // Send push notification to query PFPush *push = [[PFPush alloc] init]; NSString *msgString=[NSString stringWithFormat:@"%@ :%@", [newMessage objectForKey:@

Parse Apple Mach O-Linker error?

◇◆丶佛笑我妖孽 提交于 2019-12-07 05:06:21
问题 I was using the parse framework and all of a sudden I got 39 errors. even when I delete the the framework, it still has the errors. I already checked the build phases/settings and the paths, but nothing worked. Also, I'm using xcode 4.6.3 (I have an outdated macbook). Ld "/Users/anikakablan/Library/Developer/Xcode/DerivedData/_App-gkiwwexxeirenwdbcblamqsuyjcy/Build/Products/Debug-iphonesimulator/ App.app/ App" normal i386 cd "/Users/anikakablan/Desktop/ App" setenv IPHONEOS_DEPLOYMENT_TARGET

Sending Push Notification from mobile to particular user using parse [Parse IOS]

白昼怎懂夜的黑 提交于 2019-12-06 08:26:06
I have saved user pointer in instalation class. Web backend shows 0 subscribers I am sending notification using below code PFQuery *qry = [PFUser query]; [qry getObjectWithId:friendObject.objectId]; //friend object is ok like @"Fefl5x7nhl" PFQuery *pushQuery = [PFInstallation query]; [pushQuery whereKey:@"user" matchesQuery:qry]; // Send push notification to query PFPush *push = [[PFPush alloc] init]; NSString *msgString=[NSString stringWithFormat:@"%@ :%@", [newMessage objectForKey:@"userName"], tfEntry.text]; [push setQuery:pushQuery]; // Set our Installation query NSDictionary *data =

Parse Apple Mach O-Linker error?

ぃ、小莉子 提交于 2019-12-05 10:01:35
I was using the parse framework and all of a sudden I got 39 errors. even when I delete the the framework, it still has the errors. I already checked the build phases/settings and the paths, but nothing worked. Also, I'm using xcode 4.6.3 (I have an outdated macbook). Ld "/Users/anikakablan/Library/Developer/Xcode/DerivedData/_App-gkiwwexxeirenwdbcblamqsuyjcy/Build/Products/Debug-iphonesimulator/ App.app/ App" normal i386 cd "/Users/anikakablan/Desktop/ App" setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 setenv PATH "/Users/anikakablan/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator

how can I send coordinates to parse and save it as parse PFGeopoint

烈酒焚心 提交于 2019-12-05 06:44:17
问题 How can i send coordinates to Parse fetched by CLLocation and save it there as PFGeoPoint's latitude and longitude? I am able to get the coordinates from CLLocation and I want to send it to Parse. In Parse I have a column named "coordinates" of type PFGeoPoint which has two fields.Now I want to save the coordinates which I have got from CLLocation to Parse Column coordinates. can anyone please help me with this? I am new to iOS and Parse. 回答1: Two steps: Convert CLLocation to PFGeoPoint /