我创建了**Information**在Coredata模型中调用的Entity ,这个实体中有三个属性,分别是name,email和imagename.
并将所有图像存储在文档目录中.有两个按钮Synch On iCloud,**Restore Backup**在Settings页面上调用.
在Synch On iCloud按钮上,所有核心数据和图像都应该在iCloud上进行.
如何同步所有..我花了2天的研究工作,但无法取得成功..并没有得到任何指导也..
从其他设备当我点击时Restore Backup,coredata模型填充了我存储在iCloud上的数据和所有图像也..
请帮我解决这个问题..
谢谢,
Mehul.
目前,我有一个正在使用的应用程序UIRefreshControl.
我有一些问题但是......
继承我的代码:
- (void)viewDidLoad
{
[super viewDidLoad];
self.searchDisplayController.delegate = self;
UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init];
[refreshControl addTarget:self action:@selector(refresh:) forControlEvents:UIControlEventValueChanged];
[self.rearTableView addSubview:refreshControl];
}
- (void)refresh:(UIRefreshControl *)refreshControl {
[refreshControl beginRefreshing];
[NSTimer scheduledTimerWithTimeInterval:2.0 target:self selector:@selector(endRefresh:) userInfo:nil repeats:NO];
}
- (void)endRefresh:(UIRefreshControl *)refresh
{
[refresh endRefreshing];
}
Run Code Online (Sandbox Code Playgroud)
拉取tableview会初始化timer但是2秒数已经上升...我的应用程序crashes并发送此消息:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFTimer endRefreshing]: unrecognized selector sent to instance 0x9c093c0'
Run Code Online (Sandbox Code Playgroud)
我很迷惑 :(
我想点击并按住map以添加引脚google maps api.这是一些教程IOS吗?
GMSMarker *marker;
ios ×2
iphone ×2
objective-c ×2
core-data ×1
google-maps ×1
icloud ×1
ipad ×1
map ×1
nstimer ×1