【问题标题】:How to display month in Tapku calendar?如何在 Tapku 日历中显示月份?
【发布时间】:2023-04-02 05:06:01
【问题描述】:

我在我的 iPhone 应用程序中使用 Tapku 日历,

我有日期2012-11-03 00:00:00 +0000

我想在日历中显示 November 的月份。

请建议我该怎么做?

【问题讨论】:

  • 请清楚你想要什么???
  • 我想在tapku 日历中显示11 月。请不要像我在问题'2012-11-03 00:00:00 +0000'中提到的那样我已经有了月份和日期。
  • 好的,你想在它出现时显示这个声明的月份,对吧??

标签: iphone objective-c cocoa-touch ios4 tapku


【解决方案1】:

在您的TKCalendarMonthView 上调用以下方法:

/** Selects a specific date in the month grid. 
 @param date The date that will be highlighed.
 */
- (void) selectDate:(NSDate*)date;

【讨论】:

    【解决方案2】:
    [calendar selectDate:yourDate];
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-06-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多