我收到了错误
[ERROR] : message = "Publish or manage permissions are not permitted to be requested with read permissions.";
Run Code Online (Sandbox Code Playgroud)
当我点击我的应用程序登录Facebook时.我的同事怎么没有.相同的代码,相同的模块等
Appcelerator Studio, build: 4.5.0.201602170821
(c) Copyright 2012-2014 by Appcelerator, Inc. All rights reserved.
Build: jenkins-appcelerator-rcp-master-340 (origin/master)
Date: 17 February 2016, 08:22:10
Run Code Online (Sandbox Code Playgroud)
版本信息
# ti --version
5.0.6
# appc --version
5.2.0
Run Code Online (Sandbox Code Playgroud)
请帮忙.我正在尝试在appcelerator上构建iOS 9.2.
谢谢
我最近在Titanium Studio模拟器中未将内部运行选项中的xcode从7.3版本更新为9.0.1。在以前的版本中,它们工作正常。我也确认我在Titanium studio中的xcode路径是正确的,并且当我从运行配置选项运行某些应用程序时,它显示为“已安装”,我收到此错误。
[ERROR] : Invalid "--device-id" value "iPhone"
Available iOS Simulators:
For help, run: titanium.js help build
Run Code Online (Sandbox Code Playgroud)
请分享解决此问题的任何线索。谢谢
我有一张钛制的桌子,我已经添加了3排.在一个场景中,我从表中删除了第二行table.deleteRow(index),在一些过程之后,我需要在该索引处添加一行.
任何人都可以告诉我如何在特定索引处添加一行.
我想允许我的用户打开我们的应用程序(如果已安装,否则重定向到App Store应用程序页面),每当用户点击我们网站的网址时.
我发现Universal Links是从iOS-9开始实现上述要求的一种方式.我也知道Web服务器和Apple Developer门户要涵盖的要点.
唯一的问题是如何在Appcelerator Titanium app中启用Associated Domains?
提前感谢任何线索或帮助.
以下填充整个屏幕:
<View height="Ti.UI.FILL" width="Ti.UI.FILL">...</View>
Run Code Online (Sandbox Code Playgroud)
fill属性在这里描述:http://docs.appcelerator.com/platform/latest/#!/ api/Titanium.UI- property- FILL
但是你也可以使用以下方法做同样的事情:
<View height="100%" width="100%">...</View>
Run Code Online (Sandbox Code Playgroud)
因此我的问题是,有什么区别?
titanium appcelerator titanium-alloy appcelerator-titanium appcelerator-alloy
在Titanium中,我知道可以在浏览器中打开URL,如下所示:
Ti.Platform.openURL("http://example.com/foo");
Run Code Online (Sandbox Code Playgroud)
但是这会在这样的浏览器中打开它:
与Slack等其他iOS应用相比,它看起来像这样:
正如您在顶部看到的那样,它有一个完成按钮,无法更改网址.还可以选择在Safari上打开它.
在Facebook Messenger iOS应用程序上打开它,它看起来像这样:
如何更改Titanium在iOS上打开URL的方式,以便它使用类似于Slack中使用的浏览器.
titanium appcelerator ios appcelerator-titanium appcelerator-alloy
我在appcelerator studio 中收到此错误:
openssl 配置失败:错误:02001003:系统库:fopen:没有这样的过程
到目前为止,我找不到任何有同样问题的人。
嗨,我正在为 Titanium 创建一个 Android 和 iOS 模块,它有一个 sendLog 方法,该方法将一些任意 JSON 数据发送到服务器,如果它与某些预定义的过滤器匹配,则返回一个 URL。URL 应该在带有 webview 的模式对话框中打开。
我编写了本机 iOS 和 Android 库,并将它们包装为 Titanium 模块。在 iOS 上一切正常,但在 Android 上我无法打开对话框(请参阅下面的错误堆栈跟踪)。现在有一条日志消息总是为了测试目的而触发相同的网页。在 Android 上,它只是默默地失败。
var mupets = require("be.iminds.mupets");
mupets.initialize("wappr", "http://tocker.iminds.be:3000/log/report.json", 1, 100, 3);
var esmLog = {
bar: "foo"
};
mupets.sendLog("es-test-01",JSON.stringify(esmLog));
Run Code Online (Sandbox Code Playgroud)
在这段代码之后(最多大约 10 秒后),模块应该显示一个带有以下网页的本机对话框:http : //tocker.iminds.be : 3000/es/sheets/test-01/index.html
相反,这是我一直得到的错误:
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1411)
at android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1429)
at android.app.BackStackRecord.commitInternal(BackStackRecord.java:687)
at android.app.BackStackRecord.commit(BackStackRecord.java:663)
at android.app.DialogFragment.show(DialogFragment.java:256)
at be.iminds.mupets_client_android.logging.plugins.OutHttp.getEsm(OutHttp.java:122)
at be.iminds.mupets_client_android.logging.plugins.OutHttp$1.success(OutHttp.java:78)
at …Run Code Online (Sandbox Code Playgroud) android module appcelerator dialogfragment appcelerator-titanium
我试图为 iOS10 重建一个钛模块(https://github.com/Exygy/Titanium-Ti.Barcode)
重建时,我收到以下错误并且构建失败。
cannot initialize a variable of type 'UIImage *' with an rvalue of type
'CIImage *'
UIImage *image = [blob image];
^ ~~~~~~~~~~~~
Run Code Online (Sandbox Code Playgroud)
以下是生成它的代码段:
id blob = [args valueForKey:@"image"];
ENSURE_TYPE(blob, TiBlob);
UIImage* image = [blob image];
Run Code Online (Sandbox Code Playgroud)
我是 Objective C 的菜鸟。
objective-c uiimage ios titanium-modules appcelerator-titanium
我正在为我的项目使用自定义导航栏,我正在使用ios 7上边距的代码,如下所示;
var _IsIos7Plus = false;
if (Titanium.Platform.name == 'iPhone OS') {
var _Version = Titanium.Platform.version.split(".");
var _Major = parseInt(_Version[0], 10);
if (_Major >= 7) {
_IsIos7Plus = true;
}
}
Alloy.Globals.Ios7TopMargin = _IsIos7Plus == true ? 20 : 0;
Run Code Online (Sandbox Code Playgroud)
但iPhone X模拟器显示20个空白.有没有办法检测iPhone X?
appcelerator ×7
ios ×5
titanium ×2
android ×1
facebook ×1
module ×1
objective-c ×1
uiimage ×1
xcode ×1