eswick / appcenter Goto Github PK
View Code? Open in Web Editor NEWAdd apps as pages in Control Center
License: Other
Add apps as pages in Control Center
License: Other
Per this youtube video:
Steps to reproduce the bug:
Bug description:
App Center doesn't recognize the change from locked to unlocked state and therefore shows the locked message.
Current workaround: reopen control center after unlocking device to reload & "unlock" App Center
Suggested fix: Somehow get notified about the device being unlocked and reload App Center (by calling controlCenterWillPresent on all App Center platter pages?) once unlocked.
using CCUIFirstUsePanelViewController.h http://developer.limneos.net/?ios=10.1.1&framework=ControlCenterUI.framework&header=CCUIFirstUsePanelViewController.h
Possible items for a Settings.app bundle include:
Maybe simply move it as well?!
When opening an app that is also hosted as an App Center page both the app and page go black sometimes (!?$/%§&"=/).
Steps to reproduce:
Bug:
Both the app and App Center page go black.
Workaround:
Close the App Center page to restore normal behavior.
After compilation i get the following error:
clang++: error: invalid version number in '-miphoneos-version-min=10.2
Is there any way to fix this error?
There need to be more checks to prevent this and related crashes. I'll see if I can figure it out myself.
Code needed in ManualLayout.xm
+(CGFloat)defaultAppPageScale {
return (1.0 - [ACManualLayout ccEdgeSpacing]/[ACManualLayout screenSize].width)*0.909;
}
Code needed in ManualLayout.h
+(CGFloat)defaultAppPageScale;
Then in Tweak.xm change the lines that calculate the scale to call [ACManualLayout defaultAppPageScale] instead.
Steps to reproduce:
Twitter user @Juhwals reported this issue to me and sent a few crash logs. Seems like something is nil and we don't check for that. Logs attached, will look into this myself in a bit.
Concept by /u/MValqui link
(apparently; have not tested this myself but someone on Reddit mentioned this)
This is an initial draft for the App Center V1.0 Cydia description. @eswick Please note that it is bound to change (especially the last paragraphs) as we decide on pricing and licensing.
Instantly access your recent apps from Control Center
We’ve all been there. Chatting with a friend while trying to keep up with the social media timeline, that casual game or the latest news headlines. More often than not, you find yourself repeating the same sequence of click, tap, tap, clicka-click, tap in order to switch between two or more apps. What if this could be reduced to just one swipe?
Introducing App Center.
The promise of App Center is not to bring multitasking to small-screen devices like the iPhone. There have been numerous attempts at porting iPad-like multitasking features to the iPhone, with little success. The screens are simply not spacious enough to allow for efficient multitasking. So rather than cramming two apps on the screen at the same time, App Center does the opposite. There is always one app front and center, enabling immediate and precise interactions while reducing the amount of time and taps it would take to entirely switch apps.
When you first open App Center, you are presented with a familiar grid of icons representing your most recently used applications. Tap on one to open it in an App Center page. This means that any time you swipe up to reveal Control Center, your selected apps will be loaded instantly. App Center will always remember the page you were using the last time – no matter if it's system toggles, one app page or another.
Head to the Settings app to change the size of the app pages in case you have a hard time swiping from page to page. You'll also find a toggle to disable the tweak entirely.
Because we believe that everybody should be able to learn to code and discover how their favorite apps and tweaks work, we have decided to make App Center open source. You can find it on github!
Purchasing App Center in the Cydia store keeps you updated with the latest precompiled stable version. It also motivates us to keep updating it with more awesome features. If you want to customize App Center or make your own Control Center extension, feel free to fork App Center on GitHub! If you want to request features to be added to the tweak, simply open an issue or submit a pull request and we’ll have a look!
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:
That's all.
Feature request reserved for a future update to the tweak!
Log: https://ghostbin.com/paste/72bxa
Using 9.2 SDK and on 10.2
… is running in the foreground.
might be done like this:
NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.eswick.appcenter.plist"];
Should make it easier to scroll
Or to the selection page itself? 😈
It is needed because someone actually loaded a respring app into App Center and therefore opening CC would always respring the device.
Disable instead
"An awesome MobileSubstrate tweak!" 😂
🗞 Actual News for App Center customers:
Update 1.0.5 wanted to be a bugfix update when it was a kid but has grown to also include a number of new features! (so basically like Kinder Uberraschung but less of a choke hazard)
The update is recommended for users of all ages. (especially Horseshoe users)
📯 New features and improvements 📯
🐝 Save the bees, kill the bugs! 🐛
Clearly missing is some sort of reference to a retro game. Get your stuff together! >:(
Currently the isTweakEnabled gets checked in CCUIControlCenterViewController _loadPages:
- (void)_loadPages {
LoadPrefs();
if (!isTweakEnabled) {
%orig;
return;
}
// else load tweak into CC …
This requires a respring to be called again (according to brief testing).
Twitter user @IOSHunter2 reported this to me via DM. Crash log here, excerpt below:
Last Exception Backtrace:
0 CoreFoundation 0x18f6791b8 0x18f549000 + 0x1301b8 // __exceptionPreprocess + 0x7c
1 libobjc.A.dylib 0x18e0b055c 0x18e0a8000 + 0x855c // objc_exception_throw + 0x38
2 CoreFoundation 0x18f67908c 0x18f549000 + 0x13008c // +[NSException raise:format:] + 0x0
3 Foundation 0x19013102c 0x190083000 + 0xae02c // -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 0x70
4 SpringBoard (*) 0x1001cbe8c 0x1000b8000 + 0x113e8c // -[SBDisplayItem initWithType:displayIdentifier:] + 0x174
5 SpringBoard (*) 0x1001cbb94 0x1000b8000 + 0x113b94 // +[SBDisplayItem displayItemWithType:displayIdentifier:] + 0x58
6 SpringBoard (*) 0x10031723c 0x1000b8000 + 0x25f23c // -[SBAppSwitcherModel _displayItemForApplication:] + 0x108
7 + AppCenter.dylib 0x103bb7c9c 0x103bac000 + 0xbc9c // Logos hook for -[SBAppSwitcherModel(_ungrouped) appcenter_model](SBAppSwitcherModel*, objc_selector*) + 0x354
8 + AppCenter.dylib 0x103bbc670 0x103bac000 + 0x10670 // -[ACAppSelectionGridViewController collectionView:numberOfItemsInSection:] + 0x100
9 UIKit 0x1955e0dc0 0x19551f000 + 0xc1dc0 // -[UICollectionViewData _updateItemCounts] + 0x1a0
10 UIKit 0x1956a27e0 0x19551f000 + 0x1837e0 // -[UICollectionViewData numberOfSections] + 0x1c
He claims it happens since the 1.0.5 update when he opens control center.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.