作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
您好,我正在编写一款应用程序,其中包含一项竞赛。
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"Icon Contest!"
message:@"Design a 1024 x 1024 pixels icon for Example. The best one will be on the app's icon! Send them to: example@example.com."
delegate:self
cancelButtonTitle:@"More Info"
otherButtonTitles:@"Yes",@"No", nil];
[alert show];
我有一个截止日期,我想让应用在 1 月 31 日结束时显示不同的提醒。
最佳答案
[NSDate date]
返回当前日期。
使用 NSDateComponent可以从 NSDate 中获取月份和日期等详细信息。
关于iphone - 您如何在 Xcode 中检测 iOS 上的日期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13827532/
我是一名优秀的程序员,十分优秀!