maltsugar / custompopoverview Goto Github PK
View Code? Open in Web Editor NEW一款小巧灵活的自定义弹出视图, 可以做自定义AlertView、弹出窗口等等, A tiny and sweet custom popView (pop popup)
License: MIT License
一款小巧灵活的自定义弹出视图, 可以做自定义AlertView、弹出窗口等等, A tiny and sweet custom popView (pop popup)
License: MIT License
能问下如果初始打开时候默认选中状态,现在有这个属性吗
给个建议,下来菜单之后选择之后,可以把选择的按钮内容显示在test按钮上,感觉这个需求很经常用的
rt,view里自定了一个tableview,执行dismiss后屏幕上有view的残影闪了几下然后消失,目前我这边只能isNeedAnimate设为false。
点击无反应 调试是没有走cellForRow 方法
最新的12.2的系统,如题
不能灵活选择三角形的方向,只能三角形向上展示
你好,我想请问一下,怎么设置popLayer的线宽?因为我看资料是设置layer.lineWidth的值,但是在你的customPopOverView文件中没有看见这个,方便回答一下吗?
按照你的代码,leftButton实现的内容变成了右边button实现的内容“I'm viewController's view”;我看你的动态图不是应该实现了左上角点一下弹出一个静态列表吗?请问是怎么回事啊?
还有,你之前做的demo是在UIViewController+导航的基础上实现的,我换成UITableView+导航会不会有影响 啊?
应该是我的Xcode的版本低,所以运行不了,7.2的,我是直接拖你的代码用的。求解惑
[view showFrom:_button alignStyle:CPAlignStyleCenter];
这句话在iOS11中不起作用, 弹不出来
当你把弹出的popupview宽度设置成和屏幕一样宽,就出问题了。例如改你demo的源码如下:
注意黑色粗体部分:
`- (void)optionClick:(UIButton *)sender
{
NSArray *menus = @[@"清空已完成", @"清空全部"];
CustomPopOverView *pView = [[CustomPopOverView alloc]initWithBounds:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 300) titleMenus:menus config:nil];
pView.delegate = self;
pView.containerBackgroudColor = RGBCOLOR(64, 64, 64);
[pView showFrom:sender alignStyle:CPAlignStyleRight];
}
//或者
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.