Hello all, I have a MKMapView that is having a very strange problem which is kind of hard to explain. I have an MKOverlay that is saved between sessions by saving the points of the overlay to a file and loading the overlay in viewDidLoad. So here's the problem: Steps 1) I add an MKOverlay to the MKMapView 2) After closing the simulator and xCode and reopening everything the map gets overlayed by an overlay of the same color as the one I added. Everything on the map with the exception of the view of the map that you can …

Member Avatar
+0 forum 0

Hello guys, There's some issue with my UIPickerView controller. The data won't pop up in it. The 'Drum' by itself is visible but empty. My code is: - (void)viewDidLoad { [[self navigationController]setToolbarHidden:YES animated:YES]; [self setItemShow:theItem]; self.uiPickerViewData=[[[NSMutableArray alloc]initWithObjects:@"One",@"Two", nil]autorelease]; [super viewDidLoad]; } And method which will work when button is getting tapped on - (IBAction)setQuality:(id)sender { actionSheet=[[UIActionSheet alloc]initWithTitle:nil delegate:nil cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil]; [actionSheet setActionSheetStyle:UIActionSheetStyleDefault]; CGRect pickerFrame=CGRectMake(0, 44, 0, 0); qualityPicker=[[UIPickerView alloc]initWithFrame:pickerFrame]; qualityPicker.dataSource=nil; qualityPicker.delegate=self; [actionSheet addSubview:qualityPicker]; [qualityPicker release]; UIToolbar *toolBar=[[UIToolbar alloc]initWithFrame:CGRectMake(0, 0, actionSheet.bounds.size.width, 44)]; [toolBar setBarStyle:UIBarStyleDefault]; [toolBar sizeToFit]; UIBarButtonItem *spacer=[[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil]; UIBarButtonItem *setButton=[[UIBarButtonItem alloc]initWithTitle:@"Set" style:UIBarButtonSystemItemCancel target:self action:@selector(setQualityIntoDB)]; UIBarButtonItem *cancelButton=[[UIBarButtonItem alloc]initWithTitle:@"Cancel" …

Member Avatar
Member Avatar
+0 forum 1

The End.