parse-platform

Dynamic viewForHeaderInSection and multiple cellForRowAtIndexPath

流过昼夜 提交于 2020-01-17 02:21:48
问题 I'm trying to make a custom cell to be the Section of my cells: For this I'm overriding some functions like: numberOfRowsInSection viewForHeaderInSection heightForHeaderInSection And I'm working with multiple cellForRowAtIndexPath I'm using a if indexPath.row to identify the Cell and populate them in a dynamic way. import UIKit class TesteTableViewController: PFQueryTableViewController { override func preferredStatusBarStyle() -> UIStatusBarStyle { return UIStatusBarStyle.LightContent }

Call back at iTunes login prompt appearance

▼魔方 西西 提交于 2020-01-17 02:19:49
问题 When handling inApp purchase (using Parse.com) in an iOS app, the user clicks BUY and waits for the iTunes login (or enter password) prompt to come up. During the waiting time, I display and activityView to ask the user to wait. Then when the prompt shows up, I need to clean this activityView. What is the call back function I need to put the code into? Is there something like loginPromptDidAppear? From which I could clean off the activityView. 回答1: As the prompt is issued by iOS, not your app

Custom cell not displaying PFImageView?

风格不统一 提交于 2020-01-17 01:05:35
问题 I have a custom PFTableViewCell using a NIB. All of my custom labels display, but my PFImageView does not. I changed everything to a UIImageView just to make sure it wasn't something wrong with my Parse call, but I couldn't get it to work even with setting a static image in my resources. My cell's class is set as foodCell and foodcell.h is set as the owner. Here is a screenshot showing the imageview on my NIB Here is my foodCell.h to show the outlet of the PFImageView : #import <Parse/Parse.h

Custom cell not displaying PFImageView?

蹲街弑〆低调 提交于 2020-01-17 01:04:26
问题 I have a custom PFTableViewCell using a NIB. All of my custom labels display, but my PFImageView does not. I changed everything to a UIImageView just to make sure it wasn't something wrong with my Parse call, but I couldn't get it to work even with setting a static image in my resources. My cell's class is set as foodCell and foodcell.h is set as the owner. Here is a screenshot showing the imageview on my NIB Here is my foodCell.h to show the outlet of the PFImageView : #import <Parse/Parse.h

Nothing getting displayed in singleitem view

北战南征 提交于 2020-01-16 20:10:11
问题 I am having an app that retrieves information from parse and display into a list view ,but when the app is run and the list view item is clicked it opens a new activity and display some images and text from parse.com but it shows nothing like the image below Here is my code main activity.java public class MainActivity extends Activity { ListView listview; List<ParseObject> ob; ProgressDialog mProgressDialog; FinalAdapter adapter; private List<CodeList> codelist = null; @Override protected

PFQueryTableViewController not showing custom cells

馋奶兔 提交于 2020-01-16 12:42:48
问题 I have a subclass of PFQueryTableViewController that I am trying to show in a container view (as a subview). My problem is that I cannot get the custom cells to show in the tableview. I have verified the following via debugging: The tableview is being added to the parent view The tableview is a PFQueryTableView Controller as it includes the default pull to refresh The PFQuery is returning the correct number of objects The CellForRowAtIndexPath method is being called and iterating through the

Getting Parse Push Notification in List view

白昼怎懂夜的黑 提交于 2020-01-16 04:25:05
问题 I am using parse push notification for my app , the notification comes fine but on clicking the notification I need to show them in a list view , I searched for tutorials but I could not find any . Please help me . Please explain with code , I am new to android . Thanks in advance. here is my custom receiver. public class CustomReciever extends BroadcastReceiver { NotificationCompat.Builder mBuilder; Intent resultIntent; int mNotificationId = 001; Uri notifySound; String alert; @Override

java.lang.NoClassDefFoundError: com.parse.FacebookAuthenticationProvider in android

為{幸葍}努か 提交于 2020-01-16 02:54:27
问题 I have integrated facebook sdk for do login with Parse Api in my application but getting this problem: java.lang.NoClassDefFoundError: com.parse.FacebookAuthenticationProvider at com.parse.ParseFacebookUtils.initialize(ParseFacebookUtils.java:96) at com.parse.ParseFacebookUtils.initialize(ParseFacebookUtils.java:81) I am using jars: ParseFacebookUtilsV4-1.9.2.jar And Initialized facebook in application class FacebookSdk.sdkInitialize(getApplicationContext()); Parse.initialize(this, PARSE

java.lang.NoClassDefFoundError: com.parse.FacebookAuthenticationProvider in android

纵然是瞬间 提交于 2020-01-16 02:54:12
问题 I have integrated facebook sdk for do login with Parse Api in my application but getting this problem: java.lang.NoClassDefFoundError: com.parse.FacebookAuthenticationProvider at com.parse.ParseFacebookUtils.initialize(ParseFacebookUtils.java:96) at com.parse.ParseFacebookUtils.initialize(ParseFacebookUtils.java:81) I am using jars: ParseFacebookUtilsV4-1.9.2.jar And Initialized facebook in application class FacebookSdk.sdkInitialize(getApplicationContext()); Parse.initialize(this, PARSE

No sound when sending push notifications through Parse

做~自己de王妃 提交于 2020-01-15 10:13:11
问题 for whatever reason I cannot get my push notifications to make the default sound nor update the badge number when I receive them. Here's my code below. Do you think it's something wrong with my code? Or is there a configuration issue that I'm not aware of? Thanks for your help! PFQuery *pushQuery = [PFInstallation query]; [pushQuery whereKey:@"installationUser" containedIn:recipients]; // Send push notification to our query PFPush *push = [[PFPush alloc] init]; [push setQuery:pushQuery];