事件不会显示在Tapku日历的日视图中 [英] Events are not displayed in Day view of Tapku Calendar

查看:76
本文介绍了事件不会显示在Tapku日历的日视图中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这种情况下显示事件。



Events are displayed in such case.

- (void)viewDidLoad
{    
    [super viewDidLoad];   
    self.data = @[
	@[@"Hamburger Bliss", @"Wendys", @15, @0, @18, @0], 
	@[@"Fishy Fishy Fishfelayyyyyyyy", @"McDonalds", @5, @30, @6, @0]]; 
}





但是如果小时数大于@ 500



But if hours are greater than @500

- (void)viewDidLoad
{
    [super viewDidLoad];    
    self.data = @[
	@[@"Meeting with five random dudes", @"Five Guys", @960, @0, @1000, @30],
	@[@"Unlimited bread rolls got me sprung", @"Olive Garden", @500, @0, @510, @0]];
}





不显示活动。



我想知道事件未显示的原因以及如何显示事件。



是否有其他添加事件的方法?



Events are not displayed.

I want to know the reason why events are not shown and how to show the events.

Is there another way to add events?

推荐答案

看起来无效数据被抛出。所以你应该验证你的输入。 (这样做总是很好的风格)。



这种数据集的创建看起来非常静态。您最好阅读文档和一些示例代码,以使其顺利运行。
Looks like invalid data gets thrown out. So you should verify your input. (it is always good style to do it).

This creation of a dataset looks very static. You better read in the documentation and some sample code to get it running smoothly.


这篇关于事件不会显示在Tapku日历的日视图中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆