我尝试在我的项目中导入解析框架.我确定我的项目很受欢迎,但是我找不到任何关于它是否是"电弧敏感"的信息.我的项目是基于弧的.
这是我得到的错误:
Undefined symbols for architecture i386:
"_SCNetworkReachabilityCreateWithName", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
"_SCNetworkReachabilityGetFlags", referenced from:
___22-[PFCommandCache init]_block_invoke in Parse(PFCommandCache.o)
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilitySetCallback", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[PFCommandCache dealloc] in Parse(PFCommandCache.o)
"_SecItemAdd", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
"_SecItemCopyMatching", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_SecItemDelete", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
+[PFInternalUtils deleteFromKeychain:] in Parse(PFInternalUtils.o)
"_UTTypeCopyPreferredTagWithClass", referenced from:
-[PFFile getMimeType] …Run Code Online (Sandbox Code Playgroud) 我已经看过类似问题的几个答案,但答案都没有.我有一个应用程序,我需要一切portait除了我有一个照片查看器.在目标菜单的支持方向部分,我只有肖像.如何强制我的一个视图成为风景.它正从导航控制器推入堆栈,但我正在使用故事板来控制所有这些.
iphone orientation uinavigationcontroller viewcontroller ios
我一直想着......
在开关箱区域break;之后需要die()
例:
switch($i){
case 0:
die('Case without break;');
case 1:
die('Case with break;');
break;
}
Run Code Online (Sandbox Code Playgroud) 所以我正在构建一个使用parse作为后端的应用程序.我以前写过自己的,但我想我会节省一些时间并使用解析.我正在使用解析数据填充表视图,这很好.我想从一个从解析数组构建的字典中获取objectId.
我的数组的输出如下:
<news_events:pdbIEvOteH:(null)> {\n eventDescription = \"This is a test description.\";\n eventMessage = \"This is a test message.\";\n eventTitle = \"Free Wi-Fi Now Available!\";\n}
Run Code Online (Sandbox Code Playgroud)
对象ID pdbIEvOteH在上面的示例中.我起初尝试通过使用获取id:
NSString * objectId = [myDictionary objectForKey:@"objectId"]; 但是返回null.我知道这不是我的字典的问题,因为我可以得到其他信息.问题是看起来objectId上面的数组中没有键.你可以看到它如下news_events.
我知道你可以得到它,PFObject但我不确定我是否可以填充表格PFObject.
所以底线是我如何获得objectId.
ios ×3
iphone ×2
case ×1
frameworks ×1
logic ×1
nsarray ×1
nsdictionary ×1
orientation ×1
php ×1