Issue I got an alert when tried to open one provisioned testing build on iOS 16.0. Alert says – "Your App" required Developer Mode to run. Until Developer Mode has been enabled this app will not be available for use.
Continue readingTag: iphone
[SOLVED] How to set background color of an UIStepper instance?
Issue When setting the background color property of an UIStepper object, I get a result as shown: Just the corners get colored, not the expected, big background area. Is there a simple solution or does it come to iterating through
Continue reading[SOLVED] UICollectionViewCell size for 3 items per row
Issue I’m trying to create a UICollectionView with 3 images per row. For the start i used this code: – (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath { return CGSizeMake(110, 110); } And it’s looking good but it only fits the iPhone
Continue reading[SOLVED] How to properly set UIRequiredDeviceCapabilities?
Issue I have had an app rejected by Apple stating that I need to implement UIRequiredDeviceCapabilities in my info.plist due to my app requiring a camera flash. I understand the issue but I am not sure how to properly set
Continue reading[SOLVED] Search bar for searching in article in iOS
Issue Hello there, I’m new iphone developer and I want you guidance… I want to make an app with legal terms and explanation to different legal articles… The problem is that I want to have a search bar, so the
Continue reading[SOLVED] What is the best way to deal with the NSDateFormatter locale "feature"?
Issue It seems that NSDateFormatter has a "feature" that bites you unexpectedly: If you do a simple "fixed" format operation such as: NSDateFormatter* fmt = [[NSDateFormatter alloc] init]; [fmt setDateFormat:@"yyyyMMddHHmmss"]; NSString* dateStr = [fmt stringFromDate:someDate]; [fmt release]; Then it works
Continue reading[SOLVED] Cannot update calendar firstWeekDay Swift 3.0
Issue I’m trying to update the calendar firstWeekDay to something else (as far as I seen the default firstWeekDay is Sunday) but some errors occur. private var calendar = Calendar.autoupdatingCurrent calendar.firstWeekday = 3 // the 2nd line is here only
Continue reading[SOLVED] Equivalent to R in iOS
Issue In android we have the R class that stands for Resources, where we have references to all of our resources and we can easily access them in the code. Is there an equivalent in iOS? I have this doubt
Continue reading[SOLVED] UITableView row insertion crash
Issue I’m trying to add Row/cell in to tableview, but before [Table endUpdates]; … app crashes with error : * Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit/UIKit-2372/UITableView.m:909 * Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘attempt to insert row 33
Continue reading[SOLVED] How to synchronize ios device contact with qt app?
Issue I want to sync up iOS device contacts with an application based on QT platform, I am in search of an API which can do this with qt I find workaround (QT-JNI-Java bridge) for android. http://doc.qt.io/qt-5/qandroidjniobject.html#details It is working
Continue reading