l12ab

Results 6 issues of l12ab

我自定义了动画 当noMoreData时,去掉了titlelabel,并且设置了self.isHidden = true ,但是仍然占用了屏幕的一段高度,想彻底隐藏并且不占用高度该如何搞? 部分代码 ``` self.state = state switch state { case .refreshing, .autoRefreshing : self.isHidden = false break case .noMoreData: self.isHidden = true break case .pullToRefresh: self.isHidden...

1. scroll up hide nav bar 2. press home button let app into background 3. and then press again oh, the nav bar appears, this is what i dont expected

当定义了一个路由,method限制为GET,如果使用其他方式访问,比如POST,会输出Forbidden。 因为想要用一个统一的错误页面来展示错误信息,包括panic、其他400以上的status代码、以及这个MethodNotAllowed 。 尝试过使用中间件来实现,用自带的后置中间件ghttp.MiddlewareHandlerResponse,还是自己改写的前置中间件,都无法捕捉到这个Forbidden。 请问如何实现? 另外,用过其他框架,比如fiber,它有个默认的错误处理controller,所有的错误、异常都会用这个controller展示,并且可以自定义这个controller。那么gf能不能也实现这个

question
feature
help wanted
inactive

有些需求,需要在路由分发之前完成,但是目前webman似乎还做不到。 尝试了一下中间件,但是中间件都是在路由分发之后完成的,不符合我的需求。 比如,对于找不到的controller或者action,我希望自己处理一些逻辑并返回自定义错误

I am a Chinese user and use Windows OS. I created a .txt file, typed some Chinese in the file, and saved it with encoding ANSI by default. Then upload...

Enhancement