在我的一个证书过期之前,我没有将从FCM发送推送通知到我的iOS应用程序的问题.更改后,FCM不再提供消息.我阅读了这篇文章(https://firebase.googleblog.com/2017/01/debugging-firebase-cloud-messaging-on.html),这是我到目前为止所经历的验证步骤,但我正在打败我的头脑现在在墙上......
任何人都有这种超级令人沮丧的事情的经验,并就如何进行提出建议?
同样值得注意的是我无法删除APNs证书,我看到了选项,但它显示为灰色,我无法选择它.
apple-push-notifications ios firebase firebase-cloud-messaging
UITabBar
在升级到Xcode 7之前,我有一个运行良好的功能,现在我无法弄清楚我生活中发生了什么.我尝试了几种解决方案,包括imageWithRenderingMode
为我创建的每个选项卡设置,尝试更改背景颜色UITabBar
以查看是否可能只是白色的项目,并将图标本身更新为新版本.我的默认选择选项卡显示正常,然后当我选择另一个选项卡时,文本显示,但没有图像.(当移动到另一个选项卡时,文本仍然存在并更改为默认灰色.)
我附上了我所看到的截图,这就是我目前正在实现tabbar的方式.
创建tabbar的功能:
void MakeTabBar(id target)
{
PFUser *currentUser = [PFUser currentUser];
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
appDelegate.recentView = [[RecentView alloc] init];
appDelegate.groupsView = [[GroupsView alloc] init];
appDelegate.settingsView = [[SettingsView alloc] init];
appDelegate.homeView = [[HomeView alloc] init];
NavigationController *navController1 = [[NavigationController alloc] initWithRootViewController:appDelegate.recentView];
NavigationController *navController2 = [[NavigationController alloc] initWithRootViewController:appDelegate.groupsView];
NavigationController *navController4 = [[NavigationController alloc] initWithRootViewController:appDelegate.settingsView];
NavigationController *navController5 = [[NavigationController alloc] initWithRootViewController:appDelegate.homeView];
appDelegate.tabBarController = [[UITabBarController alloc] init];
appDelegate.tabBarController.tabBar.translucent = NO;
appDelegate.tabBarController.selectedIndex = DEFAULT_TAB; …
Run Code Online (Sandbox Code Playgroud)