English 中文(简体)
从被中止的状态返回——
原标题:Coming back from suspended state - iOS
  • 时间:2012-05-16 09:15:53
  •  标签:
  • iphone
  • ios

当我从一个被中止的国家回来时,我们非常奇怪,因此,我要在此局势中重新开始。

但是,我不想每次重新开始讨论,而是回到原地。

是否可以知道这些 app是否来自被中止的国家,还是只是一个背景的国家?

预言!

问题回答

我认为,对此的简短答案是没有的。

Apple果国家文件是明确的,但我想说,文件意味着:<>didEnterBackgroundis在这种情形下发出,因为它指出,有与每个过渡相关的方法,但只是头号,因此我进行了测试。

I wrote a short test program that uses region monitoring to force an app to transition from suspended to background. This isn t definitive, as it is also difficult to know if an app has transitioned from background to suspended, but after a couple of minutes, apps should be in suspended unless they re using background modes or tasks. Firing the region change ( through the debugger), I got didExtRegion callback, but no didEnterBackground.





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签