Last active
August 29, 2015 14:12
-
-
Save Xummer/608f68580d91921b87c9 to your computer and use it in GitHub Desktop.
Cycript 常用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cycript -p WeChat | |
// 不进入省电模式(自动黑屏) | |
UIApp.idleTimerDisabled = YES | |
// 获取当前viewController | |
var vc = [CAppViewControllerManager getCurrentNavigationController].topViewController | |
// 获取推出的ModuleViewController | |
var vc = vc.presentedViewController.topViewController | |
// TableViewInfo 相关 | |
// 获取MMTableViewInfo | |
var tInfo = [vc valueForKey:"m_tableViewInfo"] | |
// 获取MMTableViewSectionInfo | |
var secs = [tInfo valueForKey:"_arrSections"] | |
var sInfo = secs[0] | |
// 获取MMTableViewCellInfo | |
var cells = [secs[0] valueForKey:"_arrCells"] | |
var cInfo = cells[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment