Archive | September, 2014

Switching to iOS8? 4 Upgrade problems and solutions you must know for sure

25 Sep

Image 1After having enjoyed the multiple benefits of iOS7, I’m sure you’d be all excited to upgrade to iOS8. Well, as someone who’s been an iOS user since years, you might be familiar with the issues that tend to crop in during an upgrade process. If you too are concerned about making your iOS8 upgrade process smooth and flawless, then this is a blog that will serve as your guide. Here, I’ve covered details about some common upgrade problems that are faced by iOS consumers. In addition to this, I’ve also jotted down the solutions for each individual problem that creeps in while your Apple device’s operating system is being upgraded from iOS7 to iOS8.

1. Not enough space for upgrading to iOS8

It is vital to note that just like its amended Custom iPhone App Development, iOS8 update requires nearly 5 GB of storage space, depending on the device model. There are users who often come across an issue of not having enough space for the successful upgrade. An easy solution to this iOS8 upgrade process is to delete all the data that’s occupying more space on your device. You can choose to delete unwanted photos, videos, apps, games, temporary files, cache, cookies, log files etc.

2. Data loss after updating iOS7 to iOS8

Image 2As per a recent survey, it has been found that more than 20,000 people have actually lost their device data while upgrading from iOS7 to iOS8. A simple solution to this problem is backing up all your device data using the iTunes or the iCloud service. Under situations where no backup service is available, you can opt for selectively recovering specific data. PhoneRescue is a brilliant iOS data recovery tool that’s specially made for recovering all your lost yet valuable iOS data.

3. System gets frozen or stops during the iOS8 upgrade

This is yet another common problem faced by Apple product owners who’ve chosen to upgrade their existing iOS to iOS8. Closely related to internet connection problems, an iOS8 upgrade may take a while to complete and you need to keep your cool. If the system gets frozen, then all you need to do is simply hold down the Sleep/Wake button along with the Home button for about ten seconds to reboot the device. Once the device reboots, simply go to Settings-> General-> Check the iOS8 version the device is running on. If the value displayed here isn’t iOS8 then simply restart the update process from scratch.

4. Installed apps crash and don’t load

Image 3Apple users who’ve upgraded or availed skilled iPhone Application Developers for all-new iOS8 have detected apps crash issue. A possible remedy to this common iOS8 upgrade issue is double tapping the Home button and swiping on any of the app that’s been crashing. You can even opt for a device restart by holding down the Home button and the Sleep/Wake button until the Apple logo appears on the device screen. Yet another simple solution is opting for un-installing the problematic app and reinstalling after a specific amount of time.

Conclusion

With a clear insight on all the common iOS8 upgrade problems and their solutions, I’m sure it’d become flexible for you to switch from iOS7 to iOS8 without worrying about any unwanted issues that may creep in during the process.

ALSO READ: Stepwise guideline on developing iOS games using Corona SDK

5 Step process to passing data from UITableView to Detail View Controller

19 Sep

Image 1The incredible performance of iOS devices has encouraged developers to get engaged in iOS programming avenues. As someone who’s new to the field of iOS programming, there might be situations wherein you may want to pass the data from UITableView to Detail View Controller. In this article, I’ll walk you through the steps that are involved with the process of passing data from UITableView to Detail View Controller.

Here, I’ll be using a NSMutableArray that will be loaded with data fetched from Wikipedia. If you find it convenient to use SQLite data for populating the array or Core Data, you may opt for the same. And now, the steps involved in passing data from UITableView to Detail View Controller:

Step 1- Create the SampleData and Project NSObject Subclass

For such iPhone Application Development Services, simply create a Single View Application project and once you’re done with it, add a new NSObject subclass called SampleData. Next, in the header file, add three instance variables to represent the data as explained below:

#import <Foundation/Foundation.h>

@interface SampleData : NSObject

@property(nonatomic,strong) NSString * treeName;

@property(nonatomic,strong) NSString * treeDescription;

@property(nonatomic,strong) UIImage * treePicture;

@end

After this, synthesize the aforementioned three variables.

Step 2- Add the SampleDataDAO Subclass

Image 2

For this, create the SampleDataDA class and load the data in the data source. In the header file, define a NSMutableArray for the data source as shown below:

#import <Foundation/Foundation.h>

#import "SampleData.h"

@interface SampleDataDAO : NSObject

@property(nonatomic, strong) NSMutableArray * someDataArray;

-(NSMutableArray *)PopulateDataSource;

@end

Step 3- Build UITableViewController

For this, all you need to do is simply open the storyboard and add a new UITableViewController from the Object Library. With the UITableViewController selected, right click on the Cell Prototype and drag the connection to the DetailViewController. Further, with the Cell Prototype selected, open the Attributes inspector and name the Call in the identifier field. Once you’re done with the creation of segue, select it and open the Attributes inspector, followed by entering the “treeCell” identifier field.

Step 4- Configure the cellForRowAtIndexPath method

Image 3This is done for adding the data source to the cells. Here, you’ll need to change the value of the CellIdentifier to the name that has been defined in the storyboard’s Cell Prototype. Here’s the listing for the complete implementation of the cellForRowAtIndexPath method:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

{

    static NSString *CellIdentifier = @"treeCell";

    

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];

    if (cell == nil) {

        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];

    }

    

   

    SampleData * sample = [self.ds objectAtIndex:indexPath.row];

    cell.textLabel.text = sample.treeName;

    NSLog(@"Cell Value %d %@",indexPath.row,  cell.textLabel.text);

      

    return cell;

}

Step 5- Develop the kIViewController Class

You can either avail iPhone App Developer for Hire or start this by simply opening the storyboard and adding a UITextField and an UIImageView to the view controller that has already been created with the initial project. After this, create IBOutlets for both; UITextField and UIImageView by control dragging connections to the header file and naming them as treeInfo and treePicture respectively. Next, define a SampleData instance variable called treeData which will contain the SampleData information that needs to be selected in the kIListViewController. See the listing below:

#import <UIKit/UIKit.h>

#import "SampleData.h"

@class SampleData;

@interface klViewController : UIViewController

@property (strong, nonatomic) IBOutlet UITextView *treeInfo;

@property (strong, nonatomic) IBOutlet UIImageView *treePicture;

@property (nonatomic, strong) SampleData * treeData;

@end

ALSO READ: Security Alerts- A brand new offering for iCloud Users

Conclusion

So, those were the five simple-to-follow steps that enable an iOS developer to pass data from UITableView to DetailViewController. Hope you’d have found the steps interesting and worthy enough to implement in the best possible manner.