Phonegap,iphone - applicationDidFinishLaunching不调用 [英] Phonegap, iphone - applicationDidFinishLaunching not invoking

查看:344
本文介绍了Phonegap,iphone - applicationDidFinishLaunching不调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开始使用Phonegap。



我已经添加了一些代码到applicationDidFinishLaunching,但这似乎没有被调用。



ve向每个init和applicationDidFinishLaunching方法添加了断点(log,continue)。这确认后者确实没有被调用。



Xcode,Objective-C和Phonegap对我来说都是外国人,所以我有点失去了如何解决



编辑:我刚刚尝试创建一个全新的空白未修改的phonegap项目,同样的事情发生。 init断点触发,但是applicationDidFinishLaunching没有。

解决方案

但我已经使用phonegap框架做了一个小应用程序。



是当我们使用phonegap框架我们的项目的applicationDidFinishLaunching不工作,其他方法如webViewDidFinishLoad和webViewDidStartLoad在应用程序代理也不工作..



代替PhoneGapLib.xcodeproj的这个applicationDidFinishLaunchinWithOptions包含在我们的phonegap项目中获取。



<尝试写NSLog();那里。 U将在consol上获得输出。


I'm trying to get started with Phonegap.

I have added some code to applicationDidFinishLaunching but this doesn't seem to be getting called.

I've added breakpoints (log, continue) to each of the init and applicationDidFinishLaunching methods. This confirms that the latter indeed isn't getting invoked.

Xcode, Objective-C and Phonegap are all foreign to me and so Im a bit lost as to how to resolve this.

thanks

EDIT: I've just tried creating a brand new blank unmodified phonegap project, and the same thing happens. init breakpoint fires, but applicationDidFinishLaunching does not.

解决方案

I am new to iphone development. But i have done one small app using phonegap framework.

Yes When we use phonegap framework our Project's applicationDidFinishLaunching does not work and other methods like webViewDidFinishLoad and webViewDidStartLoad in app delegate also not work..

Instead of this applicationDidFinishLaunchinWithOptions of PhoneGapLib.xcodeproj which is included in our project of phonegap gets excute.

Try to write NSLog(); there. U will get output on consol..

这篇关于Phonegap,iphone - applicationDidFinishLaunching不调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆