Skip to content

Instantly share code, notes, and snippets.

@j4johnfox
Created October 13, 2009 21:15
Show Gist options
  • Save j4johnfox/209560 to your computer and use it in GitHub Desktop.
Save j4johnfox/209560 to your computer and use it in GitHub Desktop.
- (void)setFrame:(CGRect)aFrame
{
log('here in MKMapView setFrame aFrame is ' +CPStringFromRect(aFrame));
[super setFrame:aFrame];
log('[_frameView frame] is ' +CPStringFromRect([_frameView frame]));
var bounds = [self bounds];
if (_gMap) {
_gMap.checkResize();
log('_gMap.getSize() is ' +_gMap.getSize().toString());
}
}
here in MKMapView setFrame aFrame is {{425, 30}, {327, 310}}
[_frameView frame] is {{0, 0}, {327, 327}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment