在2017年主题演讲和iPhone X发布之后,我同样担心新iphone的兴奋.这个问题更多是关于用户界面,设计指南或界面设计方法而不是技术问题.
我的问题是如何支持1125px×2436px(375pt×812pt @ 3x)分辨率?
如苹果公司针对iPhoneX的人机界面指南所示,这里的图片显示它将支持3倍图像扩展.但是在顶部还有185分额外,考虑到414*736分,iphone 7加分辨率为414 - 375 =宽度减少了39分.
您可以在此处查看分辨率比较: - https://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions.
我们怎么可能为这个新的设计分辨率设计我们的应用程序?
一些问题场景:
如何支持:
我认为185分是很多高空的房地产.我们需要重新考虑很多设计和屏幕.我们如何设计和解决这些情况?我希望我的问题现在已经足够清楚了.
我个人的看法: -再苦或杂乱是,最终用户体验将是更好,更大,当我们习惯了这项决议.
请分享很棒的技术和设计过程.干杯!!!
我正在使用Parse.com在我的iOS应用程序中发送推送通知.但是当我执行以下代码来创建PFInstallation
对象时,设备令牌字段为空.
- (void)application:(UIApplication *)application
didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)newDeviceToken {
// Store the deviceToken in the current installation and save it to Parse.
NSLog(@"didRegisterForRemoteNotificationsWithDeviceToken");
PFInstallation *currentInstallation = [PFInstallation currentInstallation];
[currentInstallation setDeviceTokenFromData:newDeviceToken];
[currentInstallation saveInBackground];
}
Run Code Online (Sandbox Code Playgroud)
didFinishLaunchingWithOptions
方法
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
[Parse setApplicationId:@"xhjhkk869698lhlljk554hl55khlkhl4ff99065" clientKey:@"spg1t6jad1ShK2lh5456khh6j7j4nmn1YD6J6rl8vt3"];
[PFAnalytics trackAppOpenedWithLaunchOptions:launchOptions];
[FBProfilePictureView class];
// Register for push notifications
[application registerForRemoteNotificationTypes:
UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeAlert |
UIRemoteNotificationTypeSound];
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
return YES;
Run Code Online (Sandbox Code Playgroud)
}
我注意到didRegisterForRemoteNotificationsWithDeviceToken
从未执行过.我交叉检查我的证书和配置文件,我使用 …
objective-c push-notification apple-push-notifications ios parse-platform