编程中发现的小bug记录下来,提醒自己,也帮助大家

来源:互联网 发布:淘宝店铺背景素材 编辑:程序博客网 时间:2024/05/24 06:02

1.进入页面时候无限下拉刷新  过一会才停。



因为我把隐藏下拉加载的菊花动画   写在了tableView的后面   造成了这样的结果

没遇到过的童鞋可以自己试试

正确写法:





2.在写推送的时候遇到这样的报错

You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.


说明你的xcode没有开启推送



1 0
原创粉丝点击