繁体   English   中英

UILocalNotification显示Xcode项目名称

[英]UILocalNotification showing Xcode project name

当我发送UILocalNotification时,通知的标题是我在Xcode中拥有的项目名称,如何将packageTracker更改为其他名称?

这是我发送通知的方式

  UILocalNotification *notification = [[UILocalNotification alloc]init];
  notification.alertBody = @"Test Local Notification";
  notification.fireDate = [NSDate dateWithTimeIntervalSinceNow:1];
  notification.timeZone = [NSTimeZone defaultTimeZone];
  [[UIApplication sharedApplication] scheduleLocalNotification:notification];

在此处输入图片说明

这可能与捆绑显示名称相关。 转到您的Info.plist并进行更改(或为原始密钥添加密钥“ Bundle Display Name”或“ CFBundleDisplayName”)并添加一个新名称。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM