Hey all, This is a simple post showing how you can open the “Gallery” or “Photos” application in iOS. The Sample UI should look like this. Screenshot selecting image from the Gallery. Now to the code. ViewController.m ViewController.m We add “UINavigationControllerDelegate,UIImagePickerControllerDelegate” to get the events after selecting the image from the Gallery. The below function… Read More »
This example shows how to Open Camera, Take Photo, Save it, Load it in iOS. Before this make sure that you have two buttons and one imageview in the Interface (image above) and link them to appropriate actions and variables ViewController.h” ViewController.m
Hi all, In today’s tutorial we will study how we can customize a UITableView using “Prototype Cells” in iOS which was introduced in XCode 5.0. First Create a new Project and Name it “CustomTBLView”. Now you will get the Main.storyBoard file with other ViewController and Delegate Files. Open Main.storyBoard and “Drag” a TableView on to… Read More »
Hi All, In Todays article we will see how we can handle files in Objective C. The list of the methods used for accessing and manipulating files are listed below. Here you have to replace the FilePath1, FilePath2 and FilePath strings to our required full file paths to get the desired action. Comparing two file… Read More »
Hi All, Today I am going to talk about iOS Delagates. This example shows how to write a common delegate for a mail composer in iOS. First I am going to crate a seperate class for invoking the MailComposer Modal view controller. The class is named “Common”. So Create .m and .h files for Common.… Read More »
Before somedays some people might have experienced this issue when you are trying to validate or while submitting, the Xcode just crashes. However its the problem with the XCode due to wrong programming practice or not a professional approach from Apple. Apple could have warned the user about what is wrong. There is a simple… Read More »
Adding button action function.
This sample code generates a random number and checks whether its already present in the array. If yes then it will not add else it will add, thus generating a random array without duplicates. Please leave your valuable comments if you found this post useful.
Here is a simple code that does this.. After splitting the string with “componentsSeparatedByString” the parts are added to a NSMutableArray using addObject.
Every iPhone user may be envious on seeing a bigger screen Android Phone. But don’t worry Apple is said to be working on an iPhone with a 4.8-inch screen, a 20% increase in screen size from the iPhone 5S, iPhone 5C and iPhone 5. Jeffries analyst Peter Misek has issued a research note to investors… Read More »
Yes, these are the rumours about the future iphone. Apple is reportedly looking at iPhones with bigger screens and will be releasing the low cost phone in a range of colors as soon as this year, the ABC News reports. According to the report, Apple declined to comment on the rumors, Cook also said the… Read More »
Analysts are saying that Google play store will be the most popular platform for downloading mobile apps in the next few months. History of Google Play Google Play, formerly known as the Android Market, is a digital application distribution platform for Android and an online electronics store developed and maintained by Google. The service allows… Read More »
The budget version of Apple’s latest iPhone will cost roughly $330 (£220), priced in order to appeal to young, middle class consumers in countries like China and India. The claims about the price and the imminent release were made on the Japanese website Macotakara, following on from earlier reports about Apple plans for a cheaper… Read More »
A low-priced iPhone makes a lot of sense, Morgan Stanley says, and it even could hit the market this summer. Katy Huberty, an analyst with the banking firm, noted that after her meetings with Apple Chief Financial Officer Peter Oppenheimer, she’s convinced that innovation remains a top priority for the Cupertino, Calif., electronics giant. She… Read More »
Unlike other UIViews, the UIWebview’s opaque property is set to true by default. That should be set to false for changing the background color.
Samsung produces a number of products – from kitchen appliances to PCs – but it was the company’s mobile division that made the most headlines in 2012. The Korea-based company dominated the mobile phone space, introducing several new Galaxy devices throughout the year. But it couldn’t shake one its biggest rivals, Apple, which proved to… Read More »
A court in China has ordered Apple to pay compensation to eight Chinese writers and two companies for violating their copyrights. They had claimed that unlicensed electronic versions of their books had been sold on Apple’s online store. The court ordered Apple to pay them 1.03m yuan ($165,000; £100,000) in compensation, according to the official… Read More »
This is so simple 1. Go to your Google + account (https://plus.google.com/). 2. Click on the Profile icon on the Left. 3. If you look at the URL in the address bar, it should look something like this: https://plus.google.com/104653270154306099169/posts 4. The long numerical string in the URL is your Google+ ID. Here is CoderzHeaven’s from… Read More »
Apple took the top spot for the second year in a row, beating out IBM, Google, and McDonald’s to assume the position of the world’s most valuable brand. At $183 billion, Apple is the world’s most valuable brand, according to Millward Brown Optimor’s annual BrandZ study. Apple was last year’s most valuable brand, as well,… Read More »
Apple Inc. (AAPL) got a partner to sell the iPhone in the world’s biggest mobile-phone market, China. The may be too late to catch Samsung with a market share that’s three times larger and growing. Samsung controlled 24.3 percent of the market for phones in China. “I don’t expect Apple to replace Samsung any time… Read More »