ios

Why is my iCloud Drive AppFolder visible on MacOS, but disabled in iCloud Drive App on iOS?

I developed an iCloud Drive Export feature for my iOS App and it works. I can see the exported Documents in our public AppContainerFolder in the iCloud Drive folder on Mac OS X 10.11. But on iOS, I only can see the AppContainerFolder in the iCloud Drive app. It is disabled and I am not able to open that folder,…
Read more

UINavigationController shouldAutorotate is returning YES

* Terminating app due to uncaught exception ‘UIApplicationInvalidInterfaceOrientation’, reason: ‘Supported orientations has no common orientation with the application, and [UINavigationController shouldAutorotate] is returning YES’ * First throw call stack: ( 0 CoreFoundation 0x000000011253ec65 exceptionPreprocess + 165 1 libobjc.A.dylib 0x00000001121d7bb7 objc_exception_throw + 45 2 CoreFoundation 0x000000011253eb9d +[NSException raise:format:] + 205 3 UIKit 0x000000010e3843d8 -[UIViewController __supportedInterfaceOrientations] + 644 4 UIKit 0x000000010e379673 -[UIViewController…
Read more

iOS obfuscation of supporing files

I have an sqlite table and some audio in my iOS application that I have put a lot of work and effort into, but looking through iFile or any other browser based application I can easily find these files and do whatever I want with them. If I can do this then someone else and more malicious than myself would…
Read more

NSPredicate too complicated for NSFetchedResultsController

This is my predicate: fetchReguest.predicate = NSPredicate(format: “ANY users.identifier = %@”, String(WLAppSettings.currentUser!.identifier)) When I add a new record, it does not appear in my UITableView. But when I simplify predicate to: fetchReguest.predicate = NSPredicate(format: “name BEGINSWITH[c] ‘a'”) It appears in my UITableView with nice animation. Everything is fine. Why complexity of my NSPredicate have influence on work of my NSFetchedResultsController?…
Read more

Parent UIView not resizing after constraint.constant on UILabel changed

I have a simple UIView custom control called PaddedLabel that wraps (not inherits) a UILabel The view hierarchy is PaddedLabel -> UILabel When the constraints on the UILabel have their constants updated the outer View does not chnage height. It is as if the outer UIView is seeing only the Height of the Label as the Height it needs rather…
Read more

iTune Store Data in my Phonegap App

I am trying to integrate in-app purchase to my Phonegap app. Please guide me in integrating the itune store data on my app. Basically I would like to list the available sound files as a list and then clicking will enable purchase. As the first phase I am looking for an easy solution that queries my iTune store to fetch…
Read more

Instance member ” cannot be used on type ” prepareForSegue

I’ve tried to understand this error before. I hope something is not initialized yet but I can’t to figure out how to fix the problem. This is wrong in prepareForSegue: Instance member ‘choice’ cannot be used on type lastVC I have the following app: The idea is to store the option chosen in each view and send information to the…
Read more