我的应用程序在xcode 4.4.1中运行良好,但我刚刚更新到4.5,现在我遇到了一个clang错误.甚至不确定它讲的是什么,有没有人经历过这一点,或者可以阐明我如何修复它?这是确切的错误:
Ld /Users/natehamilton/Library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Intermediates/LCBCChurch.build/Debug-iphoneos/LCBCChurch.build/Objects-normal/armv7s/LCBCChurch normal armv7s
cd "/Users/natehamilton/Desktop/Current Projects/Work/Projects/Mobile App/LCBCChurch"
setenv IPHONEOS_DEPLOYMENT_TARGET 5.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/natehamilton/Library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Products/Debug-iphoneos -F/Users/natehamilton/Library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Products/Debug-iphoneos -F/Users/Shared/Cordova/Frameworks -filelist /Users/natehamilton/Library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Intermediates/LCBCChurch.build/Debug-iphoneos/LCBCChurch.build/Objects-normal/armv7s/LCBCChurch.LinkFileList -dead_strip -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak_library /usr/lib/libSystem.B.dylib -fobjc-link-runtime -miphoneos-version-min=5.1 -framework Foundation -framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AVFoundation -framework CoreLocation -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -framework CoreMedia -framework Cordova -o /Users/natehamilton/Library/Developer/Xcode/DerivedData/LCBCChurch-hacgcivdmhbavlecueatfvjbekxn/Build/Intermediates/LCBCChurch.build/Debug-iphoneos/LCBCChurch.build/Objects-normal/armv7s/LCBCChurch
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: …
Run Code Online (Sandbox Code Playgroud) 我的网站上有一个共享链接,适用于大多数浏览器和移动设备.但出于某种原因,它不适用于iphone.它在Facebook中显示一个共享表单,但表单是空的
<a target="_blank" href='https://www.facebook.com/sharer/sharer.php?s=100&p[url]=http://www.lcbcchurch.com/watch/series/cat/{category_url_title}&p[images][0]={square-thumb}&p[title]={exp:stringy:htmlentities}{category_name}{/exp:stringy:htmlentities}&p[summary]={category_description}'><img src="{homepage}nimg/facebook-icon.png" /></a>
Run Code Online (Sandbox Code Playgroud)
为什么这不起作用的任何想法?
有谁知道如何使用javascript拨打号码?我尝试过以下方法:
window.location.href = 'tel:7178081998';
Run Code Online (Sandbox Code Playgroud)
该按钮注册了一个单击,但在ios环境中没有执行任何操作.
我遇到了一个问题,我的"tel"链接不起作用,因为我有一个脚本(FastClick).我已经尝试了所有我能想到的东西,这就是为什么我在哪里.
思考?
问题:
我已经创建了启用了纵向方向的应用程序,但是当我全屏启动视频时,我需要支持横向.
我试过的事情:
要求:
那里有很多人在寻找相同的解决方案.请在答案中详细而全面,以便我们准确地测试解决方案.我已经在应用程序中一次又一次地看到这一点,但由于某种原因,我还没有找到答案.
对于这个问题的解决方案我看起来很高很低,但每次都很短.这似乎是一个简单的问题应该有一个简单的解决方案.我知道有几个关于如何做到这一点的帖子,但我对这些帖子的答案没有运气.如果您有一个适合我的解决方案,请告诉我.
谢谢你的帮助!
似乎每个人都知道愚蠢的小,但在PhoneGap中,不允许你在你的应用程序中使用iFrame.有很多修复,但它们要么是旧版本的PhoneGap,要么不起作用或导致其他问题.这是我到目前为止所尝试的:
http://craigpfau.com/2012/02/phonegap-ios-uiwebview-and-safari-app-links/
似乎没什么用.这是我想要完成的事情:
这是我的应用详情:
ios 5.1.1 | Cordova 1.7.0 | JqueryMobile | Jquery 1.7.1
试着用jQuery写一个条件基本上说明,如果div.gathering
不包含a.cat-link
则执行以下操作.我尝试了以下但它似乎不起作用.任何人都可以对此有所了解吗?
if($("div.gathering:contains('a.cat-link')")){
$(".gathering").append("<a href='#"+data[i]["categories"][0]["category_id"]+"div' class='cat-link' id='"+data[i]["categories"][0]["category_id"]+"' rel='external'>"+data[i]["categories"][0]["category_name"]+"<br />");
}
Run Code Online (Sandbox Code Playgroud) 有谁知道为什么这里的ajax声明不接受' - '符号.我在过去遇到过麻烦,不得不在我的网站后端改变很多东西来发送"_"代替而且它有效.有没有办法让ajax脚本接受' - 'sympbol?
$("#events").append("<img src='"+data[i].event-image+"'></a>");
Run Code Online (Sandbox Code Playgroud)
此代码是ajax调用的一部分,用于获取我的网站发送的一些JSON数据."event-image"是我的字段的名称.consol抛出一个错误,说无法找到"图像".因此破折号使代码忽略第一部分"事件 - ".关于如何纠正这个问题的任何想法,除了将我网站上的字段更改为"_".让我知道,谢谢!
我是一个JS新手,所以在这里轻松我.但我写了一个简单的幻灯片,它似乎运行得很慢.以下代码在我自己的机器上本地加载大约需要2-4秒.想知道造成延误的原因.让我知道,谢谢!
function slideshow(){
$("#1").animate({top: "50px",}, 500).delay(2000);
$("#1").animate({top: "400px",}, 500);
$("#2").animate({top: "50px",}, 500).delay(2000);
$("#2").animate({top: "400px",}, 500);
$("#3").animate({top: "50px",}, 500).delay(2000);
$("#3").animate({top: "400px",}, 500);
$("#4").animate({top: "50px",}, 500).delay(2000);
$("#4").animate({top: "400px",}, 500);
$("#5").animate({top: "50px",}, 500).delay(2000);
$("#5").animate({top: "400px",}, 500);
slideshow();
}
Run Code Online (Sandbox Code Playgroud)
每个ID代表不同的图像.