state-restoration Questions
4
When implementing state restoration in Android, how can I save and restore a lambda?
I tried saving it as Serializable and Parcelable, but it throws a compile error.
Is there any way to save and ...
Irresolution asked 27/12, 2018 at 3:55
2
Solved
I am trying to find the best way to handle state restoration for a UICollectionView whose elements may move around. My goal is to make sure that the last viewed item in the collection view is still...
Loathly asked 3/2, 2015 at 23:1
0
I've adopted the new iOS 13 modal presentation style across most of the modals in my app, however one navigation controller doesn't really fit the new style well so I set it to
UIModalPresentatio...
Turin asked 24/1, 2020 at 20:40
4
Solved
This is a little long but it's not trivial and it takes a lot to demonstrate this issue.
I'm trying to figure out how to update a little sample app from iOS 12 to iOS 13. This sample app doesn't u...
Luzluzader asked 21/7, 2019 at 1:5
3
Solved
My app has a simple organization, which I've configured in an Interface Builder storyboard (not in code). There is a Navigation View Controller, which has its Root View Controller set to my Main Vi...
Puritanism asked 7/10, 2013 at 6:23
1
I have a library with a storyboard and controller classes that implement iOS state preservation.
To launch the library from the main app's delegate, I use the following:
- (BOOL)application:(UIAp...
Interlope asked 6/4, 2019 at 15:46
1
in Apple's documentation they say that in case of document-based apps you should get restoration calls (restoreStateWithCoder: and encodeRestorableStateWithCoder:) to NSApplication, NSWindow, NSWin...
Solly asked 2/2, 2017 at 18:47
6
I'm trying to add iOS 6 State Restoration to an app that I'm just about finished with. It's an app where the model mostly comes from CoreData.
As recommended, I'm using the "pass the baton" approa...
Goodard asked 31/7, 2013 at 22:8
1
Summary:
What's the proper way to save/restore the state of an NSSearchField in my NSViewController using the built-in user interface preservation mechanism of Cocoa?
Details:
I'm working on my...
Endorse asked 12/12, 2016 at 15:38
3
Solved
in iOS, is it possible to assign a string ID to UI objects and then retrieve them in the code by that ID?
I am looking for something similar to the Android's findViewById(id)
Subordinary asked 16/6, 2016 at 3:40
1
I have integrated the MMDrawerController Library in an iOS application and now I have a requirement to Restore application state even though application is killed in background(Only when applicatio...
Azriel asked 24/6, 2016 at 8:29
2
Solved
State Preservation and Restoration Because state preservation and
restoration is built in to Core Bluetooth, your app can opt in to this
feature to ask the system to preserve the state of your ...
Lemuellemuela asked 14/10, 2015 at 15:57
1
When in My iOS app which which is in the detail screen and I press home button which will result it in going to background mode. After inactivity of 7 around minutes, I relaunch it and it doesn't s...
Subarid asked 11/10, 2017 at 8:31
1
I tried implementing the NSWindowRestoration protocol in Swift, in a non-document-based application. However, the method restoreWindowWithIdentifier is never called at application launch. Can anyon...
Stalemate asked 10/6, 2014 at 0:50
1
Solved
I have a strange problem with state restoration for a Universal app with Split View Controller.
The strange thing that I am doing things in a very standard way using a Storyboard and segues and w...
Cumbrance asked 22/8, 2016 at 11:51
0
I'm getting these crash reports from XCode (I pasted one at the bottom) and I can't reproduce the error or figure out what the problem is.
From the backtrace I'm thinking it could be related to th...
Thielen asked 30/3, 2017 at 5:12
3
Solved
I just wanted to implement the iOS State-Restoration APIs in one of my Apps.
After finally getting it to work, I discovered that a ViewController that I present modally gets restored using an anima...
Farriery asked 20/10, 2014 at 8:46
2
I am having an issue when instantiating my CBCentralManager. I get a "duplicate issue" message when monitoring it from the iOS console (it does not show in the XCode console).
I've tried updating ...
Haggis asked 18/12, 2015 at 17:12
3
I am storing my application screen, so that when the application gets opened it will show the screen that was stored. The application is navigation based.
I have assigned the Restoration Ids to m...
Salep asked 17/10, 2013 at 10:49
1
Solved
I am working on implementing state restoration into my app, however I have ran into an issue. I recently added 3D Touch support to the table view, and it worked perfectly every time except now that...
Maimonides asked 28/9, 2015 at 14:21
0
State restoration does not work well on iOS8.3, same code works well on iOS8.2. This problem can be reproduced by using apple sample code.
Steps to Reproduce:
Launch app and browse to second tab...
Gsuit asked 7/5, 2015 at 15:22
3
Solved
I get this warning in my iOS project: (iOS7, XCode 5 GM)
Warning: Unable to create restoration in progress marker file
I am working on a viewcontroller that turns all black when I get this war...
Metcalfe asked 21/9, 2013 at 11:42
1
My app uses the Stanford course's CoreDataTableViewController, which is a subclass of UITableViewController.
For particular views of my app I create subclasses of CoreDataTableViewController to ma...
Dragline asked 15/9, 2014 at 8:31
3
Solved
I'm trying to make core bluetooth wake up the app even when it's not running.
As Apple stated, "Because state preservation and restoration is built in to Core Bluetooth, your app can opt in to thi...
Convoke asked 11/12, 2013 at 20:53
1
I'd like to do state restoration in my app that doesn't use story boards. I'm seeing my primary app ViewController instantiated twice during state restoration - how do you ensure that it's only cre...
Trudge asked 18/7, 2013 at 22:30
1 Next >
© 2022 - 2024 — McMap. All rights reserved.