I am developing an iphone app , in which i have one root Tab bar with 4 tab bar items which will be at top of screen. and in one Tab bar item i again need to display another Tab bar which will be at bottom.
So is it possible ?
I am developing an iphone app , in which i have one root Tab bar with 4 tab bar items which will be at top of screen. and in one Tab bar item i again need to display another Tab bar which will be at bottom.
So is it possible ?
I'm developing an iPhone application for iOS8 in Swift. I currently save all the user data through NSUserDefaults and this works completely fine. Once I uninstall the demo app from my phone and reinstall it through XCode6, all the NSUserDefaults are gone, this is expected.
Question: How do I persist user data after uninstall?
Following is my application flow.
Flow 1) app Delegate - app login page(signup) -> Form View to -> welcome screen (on ok) -> Dashboard/User home page.
Flow 2) app Delegate - app login page(login) -> Dashboard/User home page.
I unchecked "Use Size Classes" from "File Inspector". I am not using autolayout. I am using different storyboard for different device like iPhone 6 , iPhone 6plus , iPhone 5s, iPhone 4s.
Now each time I'm checking the device, the app is running and loading the specific storyboard.
The app is running fine for only one iphone 6 plus device and iphone 4s,5s simulator.
But when I installed and tested it on multiple devices (all 4s,5s,6, another 6s device ) it is not loading the dashboard on welcome screen (on ok) in first Flow 1. and also on successful login in Flow 2.
All the devices having ios 8 and above.
I debugged the flow through code step by step. But it is following the right logical path.
Please if you have any solution help me with this situation. any suggestions are really appreciated.
Thanks,
Apparently in iOS 8 SDK, requestAlwaysAuthorization (for background location) or requestWhenInUseAuthorization (location only when foreground) call on CLLocationManager is needed before starting location updates.
There also needs to be NSLocationAlwaysUsageDescription or NSLocationWhenInUseUsageDescription key in Info.plist with a message to be displayed in the prompt.
But if I build with iOS 7 sdk, do I need to make these changes for running location services on iOS 8 device? (I know how to run on iOS 8 device with iOS 7 sdk. Hack -I just need to keep the device plugged with xcode 6 also open and then I start xcode 5. It detected iOS 8 device on xcode 5.1)
Also Im checking for authorization status not denied before starting location updates which has same value in iOs 7 and ioS8. So can there be any reason for location services to stop working on iOS 8 when building with iOS 7 sdk.
I am working in IOS 8. I am using Both the push and modal segues in My project. also unwind segues and Popping a view controller from navigation controller. But What I want to know is when I push through Navigation controller but Instead of using popViewControllerAnimated method to go back to previous view I used dismissViewControllerAnimated and it worked (I used it because My pushed ViewController was also embedded in another Navigation Controller). So what is difference behind the Scene does it off load it from the parent navigation controller's stack ? Also which one is efficient in this scenario.
I'm trying to figure out how to query the index of my records in cloudkit using Objective-C. I build a query to fetch all my records:
CKContainer *container = [CKContainer containerWithIdentifier:containerID];
CKDatabase *publicDatabase = [container publicCloudDatabase];
CKQuery *query = [[CKQuery alloc] initWithRecordType:recordType
predicate:[NSPredicate predicateWithFormat:@"TRUEPREDICATE"]];
[publicDatabase performQuery:query
inZoneWithID:nil
completionHandler:^(NSArray *results, NSError *error)
{
if (!error)
{
NSLog(@"results query %@", results);
}
else
{
NSLog(@"FETCH ERROR: %@", error);
}
}];
But I need to get the index of each record. Any of you knows how can only query the index of all records?
I'll really appreciate your help
in some artical,i see "navigationController?.hidesBarsOnSwipe = true",but this is wrong,how to write it for specificly? When i set the property "self.navigationController.hidesBarsOnSwipe = YES;",the navigation doesn't work? what's the matter?please give some ideas.