草庐IT

com-state

全部标签

ios - 指向用户的指针字段需要一个指针值 Parse.com

我有一个名为Messages的Parse.com类,其中有3列:-fromUser-Pointer-toUser-Pointer-image-File在我的UITableView中,我试图检索消息类中的所有对象,其中toUser等于PFUsercurrentUser。我在查询时遇到此错误:UserInfo=0x1702e3580{code=102,temporary=0,error=pointerfieldtoUserneedsapointervalue,originalError=ErrorDomain=NSURLErrorDomainCode=-1011"Theoperationc

ios - 操作无法完成。 (com.facebook.sdk.core 错误 3.)

我正在构建一个应用程序,我在其中实现了Facebook邀请功能。我写了这段代码来实现邀请功能FBSDKAppInviteContent*content=[[FBSDKAppInviteContentalloc]init];content.appLinkURL=[NSURLURLWithString:@"https://fb.me/xxxxxxxxxx"];content.appInvitePreviewImageURL=[NSURLURLWithString:@"https://www.example.com/my_invite_image.jpg"];[FBSDKAppInviteD

ios - Appium 错误 Xcode 找不到匹配 'com.facebook.WebDriverAgentRunner' 的配置文件

我在真实iOS设备上执行自动化时遇到问题系统配置:appium1.6.0设备iPhone5c(ios10.1)xCode8.2异常(exception)情况是:[Xcode]Testingfailed:Noprofilesfor'com.facebook.WebDriverAgentRunner'werefound:Xcodecouldn'tfindaprovisioningprofilematching'com.facebook.WebDriverAgentRunner'.Codesigningisrequiredforproducttype'UITestingBundle'inSD

ios - Parse.com 推送通知角标(Badge)值

我使用parse.com和iOSParseFramework在iOS应用程序中。我想向channel发送推送通知,但我希望角标(Badge)的值设置为1,即使用户收到多个通知也是如此。这是用于发送通知的代码,取自文档:NSDictionary*data=[NSDictionarydictionaryWithObjectsAndKeys:@"Hereisthecontentofthenotification!",@"alert",@"Increment",@"badge",@"cheering.caf",@"sound",nil];PFPush*push=[[PFPushalloc]in

ios - 解析.com : Sending email to admin after new user signup

我正在使用Parse.com作为我的iOS应用程序的后端。当新用户在我的应用程序中注册并且Parse在“用户”表中创建新用户时,我希望通过电子邮件收到通知(以验证用户数据并手动激活一些高级功能)。是否可以在用户注册后从Parse.com发送电子邮件?我该怎么做?谢谢! 最佳答案 您可以使用其中一个邮件CloudModules来实现这一点来自User类的afterSave钩子(Hook):Parse.Cloud.afterSave(Parse.User,function(request){...如果用户刚刚注册,给他们发邮件...})

ios - Parse.com 连接丢失,可达性状态 == 2

我一整天都收到没有网络连接的parse.com错误,而我的可达性状态记录为2。这是解析错误:_kCFStreamErrorDomainKey=1,_kCFStreamErrorCodeKey=57,NSLocalizedDescription=Thenetworkconnectionwaslost.},temporary=1,code=100}这是我用来测试ratability的代码:Reachability*reach=[ReachabilityreachabilityForInternetConnection];NetworkStatusnetStatus=[reachcurren

ios - Parse.com - JSON 导入日期字段错误

我正在尝试将一些JSON数据导入到我在Parse.com中的一个表中。这样做时,出现以下错误:导入遇到以下错误:错误111:键startDate、预期日期的无效类型,但得到了字符串数据如下:[{"title":"SoftwareWebinar","location":"KingsviewFinancial","host":"JoshChase","startDate":"10/13/201412:30","EndDate":"10/13/201413:30","eventType":"TA","eventDescrioption":"Informativewebinarsonutili

ios - 类型标识符为 "com.apple.pkpass"的 NSItemProvider

我正在构建适用于iOS的共享扩展,并且愿意接受Passbook通行证。我有共享扩展在其中工作:NSItemProvider*itemProvider=inputItem.attachments.firstObject;[itemProviderhasItemConformingToTypeIdentifier:@"com.apple.pkpass"];返回真值。但是,我迷失了尝试加载这个项目。我试过使用这种类型和其他类型将它强制为NSData:[itemProviderloadItemForTypeIdentifier:@"com.apple.pkpass"options:nilcom

ios - 我的 *.appspot.com 域如何支持带有 Web 标记的 iOS9 通用链接?

正如许多人所知,默认情况下,GoogleAppEngine将其应用程序托管在appspot.com子域上,其通配符(*.appspot.com)SSL证书允许任何应用程序在该子域上使用https。使用UniversalLinks进入iOS9和Web标记,现在需要托管一个带有指定应用程序链接的“签名json文件”。那里的关键词是“signed”。ThisfileneedstobesignedwithavalidSSLcertandprivatekey.(list2-7和2-8)在Twitter上,有人告诉我签名证书不必与实际网站的域SSL证书匹配,但自签名证书将不起作用。因此,一种解决方

iphone - Xcode升级后报错: couldn't add 'com.apple.XcodeGenerated' tag

warning:couldn'tadd'com.apple.XcodeGenerated'tagto'/Users/user/Library/Developer/Xcode/DerivedData/MyApp-sakjfljdasklsasadfkj;/Build/Intermediates/MyApp.build':ErrorDomain=NSPOSIXErrorDomainCode=2UserInfo=0x22ea133a"Theoperationcouldn’tbecompleted.Nosuchfileordirectory"我将xcode3.2升级到4.1这个MyApp在Xc