laptop and a wrench

Bug

Map do not resize if loaded from source (not from a nib).

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM062249
SubmittedOctober 25, 2010
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found10.0
Version FixedN/A
StatusFixed

Workaround

Create the AGSMapView controls should look something like this: self.autoresizesSubviews = YES; if (mAreaAView == nil) { mAreaAView = [[AGSMapView alloc] initWithFrame:CGRectMake(0, 33, 768, self.bounds.size.height)]; mAreaAView.mapViewDelegate = self; mAreaAView.backgroundColor=[UIColor blackColor]; mAreaAView.autoresizingMask=UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; [mAreaAView awakeFromNib]; } [self addSubview:mAreaAView]; if (mAreaBView == nil) { mAreaBView = [[AGSMapView alloc] initWithFrame:CGRectMake(384.0, 0.0, 384.0, self.bounds.size.height)]; mAreaBView.mapViewDelegate = self; mAreaBView.backgroundColor=[UIColor blackColor]; [mAreaBView awakeFromNib]; mAreaBView.autoresizingMask=UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; }

Steps to Reproduce

Bug ID: NIM062249

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options