So, why is being a wise woman such a royal pain in the arse?
Because, inevitably, something will go wrong. And when that moment arrives, you’re screwed.
审视苹果的官方文档给我的感觉是,它并不是适合你去细细琢磨,而是非常适合当你有一个大致轮廓后,填补空白的轮廓的时候用。
所以,应该是文档结合demo 一起去学习,才能激发自己思考的动力
我想淡定的写完心里的怒气:
苹果文档,你把重要的信息突出一下会死!
The clockwise parameter determines the direction in which the arc is created;
the actual direction of the final path is dependent on the current transformation matrix of the graphics context.
For example, on iOS, a UIView flips the Y-coordinate by scaling the Y values by -1. In a flipped coordinate system, specifying a clockwise arc results in a counterclockwise arc after the transformation is applied.
Apple ID : 为您的 App 自动生成的 ID。
SKU : 您 App 专有的 ID, 此 ID 不会在 App Store 中显示。
套装 ID : 必须与您在 Xcode 中使用的 ID 相符。该 ID 在您上传第一个构建版本后便无法更改。
跟应用内使用的app id 一致,它包含了 Name + App ID
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeBadge | UIUserNotificationTypeAlert | UIUserNotificationTypeSound categories:nil];
[[UIApplication sharedApplication] registerUserNotificationSettings:settings];
deprecated