Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Center page opens twice after app launch. #34

Open
nathanaccidentally opened this issue Feb 23, 2017 · 5 comments
Open

App Center page opens twice after app launch. #34

nathanaccidentally opened this issue Feb 23, 2017 · 5 comments
Assignees
Labels

Comments

@nathanaccidentally
Copy link

I have an iPhone 5S on iOS 10.1.1. Whenever I launch an app via App Center I get a duplicate App Center page that can't be closed unless I respring. Other tweaks that are modifying the CC:

  1. Noctis
  2. BlurryCC10
  3. Cream 2

That's all.

@eswick
Copy link
Owner

eswick commented Feb 24, 2017

I will look into compatibility issues with these tweaks. Noctis is already on the list, the others are not, so I'll check them out.

@nathanaccidentally
Copy link
Author

It seems like even disabling all CC tweaks I still get the issue. I guess I'll try uninstalling my other CC tweaks 1 by 1 until I can get it to work and I'll report back.

@eswick eswick self-assigned this Feb 24, 2017
@nathanaccidentally
Copy link
Author

Ok. After disabling all tweaks one by one, it seems the culprit is Xen Lockscreen.

@conath conath added the bug label Feb 25, 2017
@Matchstic
Copy link

Matchstic commented Feb 25, 2017

Sorry about this! My tweak is manually loading all available CC pages onto a Lockscreen page. Compatibility wise, I assume that App Center does not load applications when the device is locked? If so, I'll ensure I don't load them my end.

EDIT: Have resolved the page duplication by a change on my end, dealing now with a frame y-origin issue with application pages then should be done.

EDIT2: This frame issue I'm now seeing is that an application page will have the same y-origin as other CC pages.

@Matchstic
Copy link

Matchstic commented Feb 25, 2017

Figured it might be easier to create a new comment to document this.

In Xen Lockscreen's Toggles page, I create an instance of XENControlCenterViewController (subclassed from CCUIControlCenterViewController) from which to retrieve available pages via -sortedVisibleViewControllers. This subclass nop's out -_layoutScrollView, and the Toggles page now refuses to add any CCUIControlCenterPageContainerViewController whose contentViewController is of class ACAppSelectionPageViewController or ACAppPageViewController.

In this subclass, I can prevent the addition of App Center pages in -_addContentViewController:, which is my next attempt at resolving the issue from my end as my current work didn't seem to fix it. Since my subclass is only ever used within my own LS pages, I don't anticipate this causing a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants