Tag: sdk

voip app ios8:pushkit仍然是最佳做法?

我正在开发一个应用程序,需要可靠的推送消息(如任何voip)在ios9下。 这里说,用IOS8 +应该使用apns(registerForRemoteNotifications): https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/index.html#//apple_ref/occ/instm/UIApplication/setKeepAliveTimeout:handler : 在Optimize VOIP Apps文档中,Pushkit是首选: https://developer.apple.com/library/ios/documentation/Performance/Conceptual/EnergyGuide-iOS/OptimizeVoIP.html#//apple_ref/doc/uid/TP40015243-CH30-SW1 有人有这个线索吗? 或者他们在后台运行相同的代码?

FB SDK 3.0我需要扩展访问令牌还是自动?

基于http://developers.facebook.com/roadmap/offline-access-removal/例外(部分)3:如果我使用“较新”的SDK,它会为我保存访问令牌,并将自动扩展它。 我的问题: [1]当它说“新”的SDK – 有谁知道这是否指的是3.0? [2]有没有办法手动分配FBSession访问令牌? FBSession的accessToken属性是只读的。 我的情况:在我的应用程序用户使用他们的电子邮件地址login,并在我的服务器上的电子邮件地址链接到Facebook访问令牌。 现在,如果用户在另一台设备上login到我的应用程序,我的服务器将在auth响应中返回FB访问令牌; 我想FBSession被分配这个相同的访问令牌,所以他们不必重新authenticationFB,并希望访问令牌扩展过程正在神奇地发生。

如何给这个select器视图一个数据源

在这里,我正在编程添加一个pickerview – (void)viewDidLoad { [super viewDidLoad]; CGRect pickerFrame = CGRectMake(0,280,321,200); UIPickerView *myPickerView = [[UIPickerView alloc] init]; //Not sure if this is the proper allocation/initialization procedure //Set up the picker view as you need it //Set up the display frame myPickerView.frame = pickerFrame; //I recommend using IB just to get the proper width/height dimensions //Add the […]

Linkedin iOS SDK:configuration文件照片为空时授权屏幕上的样式错误

我们正在使用LinkedIn sdk授权iOS移动应用程序访问用户的LinkedIn个人资料。 使用Xamarin制作的应用程序。 本地LinkedIn sdk绑定,所以它应该以同样的方式工作。 在LinkedIn个人资料照片为空的情况下,当由sdk打开应用程序以请求授权时,样式是错误的。 指示正在请求许可的应用程序的文本缺失,允许/取消button似乎移动到左侧(请参阅图像中的箭头) 这似乎是发生在LinkedIn应用程序内,所以我猜在我身边没有太多的事情要做,但我希望有人已经有这个问题,并有一些提示。 谢谢。

swift项目中的ooVoo SDK编译错误

我试图集成ova SDK在swift项目中使用目标c桥接头编码它看起来像它成功,我可以访问的SDK类,但是当我试图编译我得到了很多苹果mach-o链接器警告和错误,我会把他们下面谢谢你的帮助 警告: (null): Ignoring debug info with an invalid version (602049001) in /Applications/Development/ooVooSDK-iOS-1.5.0.73/ooVooSDK-iOS.framework/ooVooSDK-iOS(opus_decoder.o) (null): Ignoring debug info with an invalid version (602049001) in /Applications/Development/ooVooSDK-iOS-1.5.0.73/ooVooSDK-iOS.framework/ooVooSDK-iOS(opus_encoder.o) (null): Ignoring debug info with an invalid version (602049001) in /Applications/Development/ooVooSDK-iOS-1.5.0.73/ooVooSDK-iOS.framework/ooVooSDK-iOS(celt_decoder.o) (null): Ignoring debug info with an invalid version (602049001) in /Applications/Development/ooVooSDK-iOS-1.5.0.73/ooVooSDK-iOS.framework/ooVooSDK-iOS(celt_encoder.o) (null): Ignoring debug info with an invalid version […]

如何将数据从SQlite显示到iPhone应用程序的表视图

我正在使用SQlite3编写Xcode 4.3中的iPhone项目,SQlite和Xcode之间的连接已经完成,现在我想将我的数据显示到一个表视图(三个视图)和它的只读! 所以我有主表视图,select原始 – >采取第二个视图,并从数据库中加载其他数据select原始 – >采取细节视图显示长文本和图像! 任何帮助赞赏。 AppDelegate.h #import "AppDelegate.h" #import "MasterViewController.h" @implementation AppDelegate @synthesize window = _window; @synthesize navigationController = _navigationController; – (void)dealloc { [_window release]; [_navigationController release]; [super dealloc]; } – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization after application launch. […]

使用Google Service for iOS而不使用GoogleService-Info.plist

我可以使用GoogleService-Info.plist同时使用Google SignIn和Google Analytics。 但是,为了减less依赖性,我想将信息从GoogleService-Info.plist移到另一个包含我的其他信息的.plist。 这可能吗? 如果是这样,我该怎么做?

如何从iOS SDK中的Facebook对象获取Facebook用户ID?

我发现访问令牌在Facebook对象中可用,但我没有看到Facebook用户ID。 我可以向“我”发送一个图表请求来获取Facebook ID,但是我不想让额外的API调用。

UITableView reloadData需要太多的时间

我正在使用TBXML + HTTP从网站获取XML数据。 我想要做的是用处理的数据填充一个UITableView。 我创build了一个包含所有条目的NSMutableArray,就这一点而言,一切工作正常。 问题是,当成功从服务器获取数据并将其存储在数组中后,我尝试使用reloadData更新表以显示数据。 用20行填充表格大约需要5秒钟的时间。 怪异的部分是抓取发生得非常快,所以数据立即可用。 我不明白这是多久了。 以下是日志中的一些信息: 2012-03-17 18:46:01.045 MakeMyApp[4571:207] numberOfSectionsInTableView: 1 2012-03-17 18:46:01.047 MakeMyApp[4571:207] numberOfRowsInSection: 0 2012-03-17 18:46:01.244 MakeMyApp[4571:1f03] numberOfSectionsInTableView: 1 2012-03-17 18:46:01.245 MakeMyApp[4571:1f03] numberOfRowsInSection: 20 2012-03-17 18:46:01.245 MakeMyApp[4571:1f03] Ok, I'm done. 20 objects in the array. 2012-03-17 18:46:01.246 MakeMyApp[4571:1f03] Finished XML processing. 2012-03-17 18:46:06.197 MakeMyApp[4571:1f03] cellForRowAtIndexPath: 正如你所看到的,它激发了numberOfSectionsInTableView: / numberOfRowsInSection:两次:第一次是当视图加载时,第二次是当我做[self.tableView reloadData]; […]

iPhonenetworking摄像头Feed

我计划在我的机器人http://mydlink.dlink.com/DCS930L上安装无线networking摄像头。 DLink有一个iPhone应用程序来观看现场video,但是我想与我的iPhone遥控器集成video。 是否有可能将video馈送到我自己的应用程序? 我应该从哪里开始寻找..