我在我的iOS应用程序中使用位置服务即区域监控,这是我的代码
//this for creating region
-(void)createRegion
{
[dictionary setValue:@"23 St, New York" forKey:@"title"];
[dictionary setValue:[NSNumber numberWithDouble:40.742878] forKey:@"latitude"];
[dictionary setValue:[NSNumber numberWithDouble:-73.992821] forKey:@"longitude"];
[dictionary setValue:[NSNumber numberWithDouble:(300.0)] forKey:@"radious"];
[regionArray addObject:[self mapDictionaryToRegion:dictionary]];
[self initializeRegionMonitoring:regionArray];
}
- (CLRegion*)mapDictionaryToRegion:(NSDictionary*)dictionary {
NSString *title = [dictionary valueForKey:@"title"];
CLLocationDegrees latitude = [[dictionary valueForKey:@"latitude"] doubleValue];
CLLocationDegrees longitude =[[dictionary valueForKey:@"longitude"] doubleValue];
CLLocationCoordinate2D centerCoordinate = CLLocationCoordinate2DMake(latitude, longitude);
CLLocationDistance regionRadius = [[dictionary valueForKey:@"radius"] doubleValue];
return [[CLRegion alloc] initCircularRegionWithCenter:centerCoordinate
radius:regionRadius
identifier:title];
}
- (void) initializeRegionMonitoring:(NSArray*)geofences {
if(![CLLocationManager regionMonitoringAvailable]) {
// [self showAlertWithMessage:@"This app requires …Run Code Online (Sandbox Code Playgroud) 在我的iOS应用程序中,我在用户的Facebook墙上发布了一些信息,现在我想在同一个应用程序发布的用户朋友的墙上找到类似帖子,或者将用户墙上的文字与他朋友的墙匹配,然后如果匹配找到在朋友的墙上阅读朋友和整个帖子的信息,目前正在使用facebook sdk for iOS.请为我建议解决方案.
当用户输入时UITextfield,他停止了2秒钟,光标仍然亮着UITextfield,那么我们如何识别这个事件呢?即我想检查编辑是否结束,而不是从第一响应者那里辞职UITextField.这样做的方法是什么?
我在我的iOS应用程序中使用google api V3,我要求google api方向服务,通过http GET方法,我得到了一个非常大的json响应,我从源到目的地有很多备用路由,现在我想显示路由地图上的每个替代方案,我该怎么做?是否需要在iOS中集成google sdk,或者我只能使用webView,请帮助我,并提出最简单的方法.提前致谢
我正在开发iOS应用程序,我需要实现以下功能,

用户应通过向上滑动从底部拖动菜单,也可以通过向下滑动关闭菜单,
在iOS中是否有任何api或任何类来执行此类功能,我搜索它但我没有得到任何这样的api轻松地做到这一点.请建议我解决方案,提前谢谢.