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

可能遇到的几个问题及解决 #1

Open
yangwei0401 opened this issue Mar 20, 2015 · 13 comments
Open

可能遇到的几个问题及解决 #1

yangwei0401 opened this issue Mar 20, 2015 · 13 comments

Comments

@yangwei0401
Copy link

1.CodeSign error: code signing is required for product type 'Dynamic Library' in SDK 'iOS 8.2'
code Signing Identity 改成 iOS Developer就好了

2.LibInsformance.plist 需要哪个程序显示就把哪个程序的id写进去,默认是只桌面显示

3.默认0.5秒刷新
更改的话, tickCounter%30 哪里 把30改低即可。我改成了10,飞快啊。。。

@nonstriater
Copy link
Owner

关于2) id 不写默认应该是hook所有app的,3)我之所以为30是考虑到如果设置低了刷新太快,cpu一直高位,发热会有影响;改成60也就是1s刷新怕在快速滑动的时候更新不够灵敏,不过问题不大

@yangwei0401
Copy link
Author

盖住了状态栏有点儿不爽,至少请求网络的转圈看不到了,稍微修改了下JDStatusBarNotification,给定了lable靠右,长度220,以及 self.topBar.backgroundColor = [UIColor clearColor];

@nonstriater
Copy link
Owner

来个pull request或者看下效果图?

@yangwei0401
Copy link
Author

fullsizerender

@yangwei0401
Copy link
Author

又改了把,这回自己觉得不赖
fullsizerender 2

@nonstriater
Copy link
Owner

恩,还不错

@yangwei0401
Copy link
Author

就是有时候cpu 值会到100%多,不知道啥情况

@nonstriater
Copy link
Owner

我没遇到过呢,不好说

@yangwei0401
Copy link
Author

default

@yangwei0401
Copy link
Author

不改了,有需要的请回帖。

@nonstriater
Copy link
Owner

你给我发的哪个源码我下载不了

@yangwei0401
Copy link
Author

@nonstriater
Copy link
Owner

这里label的圆角背景是哪行代码的作用

self.textLabel.frame = CGRectMake((self.bounds.size.width - 190)/2 , self.textVerticalPositionAdjustment+16,
190, self.bounds.size.height/2);

self.textLabel.layer.cornerRadius = 5;
self.textLabel.layer.masksToBounds = YES;

self.textLabel.layer.borderColor = [UIColor clearColor].CGColor;
self.textLabel.layer.borderWidth = 1.0f;
self.textLabel.layer.rasterizationScale = [UIScreen mainScreen].scale;
self.textLabel.layer.shouldRasterize = YES;
self.textLabel.clipsToBounds = YES;

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

No branches or pull requests

2 participants