sherlockqi / wechatfloat Goto Github PK
View Code? Open in Web Editor NEW仿微信浮窗功能
仿微信浮窗功能
我在模拟器上运行 没看到任何东西啊
如果切换tabbar,自定义转场动画就消失了
完全用不了,怎么给star?
一般app都是 一个tabbar 多个 nav,所以在不同nav下就会有问题。
你好,我在项目使用中遇到两个问题:
1、浮窗关闭,但是浮窗对应的VC没法释放。
2、在浮窗没有关闭的时候再添加新的浮窗,小圆点会过几秒自动消失,对应VC也是没有释放的。
目前我自己也在排查,先提个issues~
xcode :9.4
模拟器:iPhone 6 , os 11.3
弹出框不显示。
用小圆点,点击进入的页面,用手势返回,取消小圆点,再试没有效果
Illegal redeclaration of property in class extension 'HKFloatManager' (attribute must be 'readwrite', while its primary must be 'readonly')
错误❌
} else if (self.edgePan.state == UIGestureRecognizerStatePossible) {
///这个位置的代码不应该在动画结束后销毁定时器,否则会在动画过程中继续回调定时器,多次UIGestureRecognizerStatePossible
状态
[self.floatArea removeFromSuperview];
self.floatArea = nil;
[self.link invalidate];
self.link = nil;
[UIView animateWithDuration:0.5 animations:^{
self.floatArea.frame = CGRectMake(SCREEN_WIDTH, SCREEN_HEIGHT, kFloatAreaR, kFloatAreaR);
} completion:^(BOOL finished) {
if (self.showFloatBall) {
self.floatViewController = self.tempFloatViewController;
if ([self haveIconImage]) {
self.floatBall.iconImageView.image = [self.floatViewController valueForKey:@"hk_iconImage"];
}
self.floatBall.alpha = 1;
[kWindow addSubview:self.floatBall];
}
}];
}
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.