I am working on an application which UI is fully written in FLEX (tool Adobe Flash Builder 4.6) and fetching all updates from local sqlite database.Local sqlite database updates from server are processing in background using GCD.These background tasks are written in objective C and integrated with FLEX UI as a static library.Is there any way to use UIApplication Delegate protocol methods like didEnterBackground..etc., from this static library without using Appdelegate.h file?

有帮助吗?

解决方案

I found the answer.

If we build our application using FLEX then its not possible to register our application with UIApplicationDelegate methods.

Instead of trying in Objective C, I implemented these delegate methods in FLEX.

Its solved my problem.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top