Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 FireMonkey 应用程序,它需要以一定的时间间隔检查事件。
即使应用程序关闭,有没有办法在特定时间执行功能?
在 iOS 7 中,Apple 引入了后台传输。您可以在此帮助下处理整个后台活动。
这是您必须在 AppDelegate.m 中的 didFinishLaunchingWithOptions 方法中编写的代码
[应用程序集MinimumBackgroundFetchInterval:UIApplicationBackgroundFetchIntervalMinimum];
您还可以设置自定义时间间隔,而不是预定义的时间间隔。
我确信这在 stackoverflow 上的某个地方得到了回答,但对于我的生活,我找不到为什么我的情况与已经写的不同,所以这里是。
使用带水豚的 rspec
1) report_cards#index must have 'Report Cards Index' Failure/Error: visit '/' NoMethodError: undefi