ios7.1
Error “Cast from pointer to smaller type ‘int’ loses information” in EAGLView.mm when update Xcode to 5.1 (5B130a)
Apparently the clang version in Xcode 5.1 and above is more strict about potential 32bit vs. 64 bit incompatibilities in source code than older clang versions have been. To be honest, I think, clang is too restrictive here. A sane compiler may throw a warning on lines like this but by no way it should … Read more
iOS 7.1 UITapGesture not working with UIPickerView
I had the same problem, and I finally had a revelation 😛 It was like simultaneous gesture rencognizers on uiPickerView don’t work. so I use the gesture delegate < UIGestureRecognizerDelegate> with // add tap gesture UITapGestureRecognizer* gestureRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(pickerViewTapGestureRecognized:)]; [picker addGestureRecognizer:gestureRecognizer]; gestureRecognizer.delegate = self; with -(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer{ // return return … Read more
Black bars appear in app when targeting iOS7.1 or 7.0 in Xcode6
I was able to resolve the issue manually, seems like it is a bug with Xcode for now and I will file a radar report. To resolve the issue, follow the below steps: Navigate to project settings Under “App Icons and Launch Images” click on “Use Asset Catalog” Select “Migrate” on the popup that appears. … Read more
iOS Core Bluetooth : Getting API MISUSE Warning
You have to wait until the [-CBCentralManagerDelegate centralManagerDidUpdateState:] callback has been called. And then, verify that the state is PoweredOn before you start scanning for peripherals.
Corner Radius property of UILabel is not working in iOS 7.1
Add the next line to your code: // Swift: originaltagLbl.layer.masksToBounds = true // Objective C: originaltagLbl.layer.masksToBounds = YES; For information see this SO answer, or read documentation.
ios crash EXC_BAD_ACCESS KERN_INVALID_ADDRESS
This crash occurs due to a dangling pointer. When any variable or object is trying to access an object that’s already been deallocated, this crash occurs.