3
我在PhoneGap的iPhone下面的代碼,在文件Geofence.jsPhoneGap的iPhone代碼說明
Geofence.prototype.subscribeToLayer = function(layerName,circularRadius,successCallback){
PhoneGap.exec("Geofence.subscribeToLayer",layerName, circularRadius,{
onSuccess:GetFunctionName(successCallback),
});
這裏有
Geofence.h
Geofence.m
這些都是 地理柵欄類方法
-(void)subscribeToLayer:(NSArray *)arguments withDict:(NSDictionary *)options;
我希望有人能夠描述這些代碼行,我是iOS開發人員,但不是強大的濃縮jQuery Mobile和JS的epts。
在此先感謝