//自定义的UIViewBackView *backView=[[BackView alloc]initWithFrame:CGRectMake(SCREEN_HEIGHT-130, 50, 91, 34)];//把图片转为颜色UIColor *bgColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"back
原创
2022-12-09 14:54:25
41阅读
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:self.backView.bounds byRoundingCorners:UIRectCornerBottomLeft | UIRectCornerB
转载
2021-03-03 11:05:26
138阅读
2评论
UITableView取消选中颜色、常用操作使用空白view取代cell- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ //取消选中颜色 UIView *backView = [[UIView alloc] initWithFr
转载
2013-06-21 10:48:00
155阅读
2评论
这近在做项目中遇到web与原生交互业务,这里要自定义加载UIWebView控制器,因为之前在BaseNavigationController中统一做了返回按钮的显示,但是在webView有back时不能直接pop出来,所以这个控制器中要自定义返回按钮。一开始思路是直接自定义backView,在backView中布局两个按钮,一个back,一个pop,如下代码self.navigationItem.
转载
2024-07-12 13:48:23
55阅读