Home > Blog >


Contact Us



Have a mobile app idea or want to benefit from our web solutions ?


info@techaheadcorp.com

How to join iPhone Developers Program in easy steps

Step1

iPhone Development company / individual iPhone developers need to register for iPhone Developers Program to code, test and publish the app on App Store. Register at http://developer.apple.com/programs/start/register/create.php to register for the developer program. Joining fee of the program is $99 currently for 1 year.

Step2

Look at the next screen, which will ask you to create or select your Apple ID. Click the first radio button to denote that you don’t already have a Developer account. Select “Continue.”

Step 3

Input a user name and password as well as your contact information, a security question and a password. Then continue to the next screen. Create your developer profile by answering the questions presented (all multiple choice).

Step 4

Next step involves putting in your professional profile where you have to give details of kind of applications you built. In our case it is all “application types” – so we have marked all app types. You can do it according to your choice. Remember to click on Commercial application if you are planning to sell your application through App Store.

Step5

Next step after putting professional profile is to agree to terms and conditions of Apple Developer program. So just check the box to agree and press Continue.

Step6

Then you will see next screen where it asks you to enter the activation Code which was sent to you on your email.

Step 7

Check your email for the code. Then type it in and choose “Continue.” Once you’ve done that, click “Continue” one last time to activate your Developer Connection membership. Apple will automatically prompt you to download the iPhone Software Developers Kit.

Step 8

Apple will send you a verification document which needs to be filled and faxed back to them. This is last step in order for the account to be activated by Apple. Once you have the account activated you will get an email from Apple. You can log in now with your Apple ID which you filled at the time of registration above.

We hope this will be useful to you.

TechAhead Software
Leaders in Mobile Application Development (iPhone, iPad, Android, BlackBerry )

How to implement Pinch Feature in iPhone application.

Do you have an idea on the application where you want to implement pinch and zoom feature on your image ?

You will have to use a ScrollView. Embed your imageView on this ScrollView.

The delegate class of ScrollView must be implemented because we will have to use the viewForZoomingInScrollView: method and return the view to zoom.You set the values of the minimumZoomScale and maximumZoomScale properties of the scrollview to specify the amount the user can zoom.

We will be happy to help if you still need some advice.

You want to put tags on your images through iPhone application ?

Code given below is very generic . You can customize it according to you own need.

One thing you might notice in the code displayed above that strings which are being written on the context are written down to up.

Let’s talk about ImagePicker of iPhone application development.

I must say that if you are trying to create some image editing software for iPhone, you will think CGContext as one of the choices.I must add here that CGContext is very easy to use if you know what you want to do but at the same time it can get very expensive on memory when we are dealing with huge images. Generally images taken by iPhone are pretty huge in size. They are more than 6 MBs in raw form !

Here is a code which takes picture:

In case 0,if user has choosen camera as an option to take picture then it checks if there is camera available then it takes the picture.

In case 1, if user has choosen photo library to pick up the pictures, then it takes user to photo library of iPhone where user can pick up the picture of his choice.

As we have used imagePicker multiple times , before initializing it everytime we release it and make it nil so that we dont allocate memory again and again.

Now once user has choosen the image from photoalbum or clicked a new picture, following delegate method gets called :

UIImage * image comes with very high MB . We tracked it on Instrument , when you take a fresh picture or select a photo , your memory allocation increases upto as high as 6 MB. And if you doing retake again and again , it might end up crashing your application.Hence we need to decrease that allocation. So we have used resizing of the image. As soon as it gets in resize it.This tremendously decreases the load on iPhone !

Hope this post helps to developers dealing with image picker.

Links to few essential iPhone Apps

Dear iPhone Enthusiasts,

It is a pleasure to present links to few essential iPhone apps which might be useful to us. Many of us already have them on our iPhone but still thought of putting them in to once place.

10 Essential iPhone Apps for Runners

3 Free iPhone Apps to Help Make a Difference

10 Best iPhone Apps for Dog Lovers

Top 10 iPhone Apps as Judged by Mashable Readers

10 Fun iPhone Apps for Beer Lovers

How we can help?

TechAhead Software is an offshore outsourced mobile application development company. We have capability and competency in building high end apps for iPhone, Google Android and Blackberry to name among few. We provide fast turnaround time with high quality and competitive cost. Drop us a line at info@techaheadcorp.com, if you have any query and we will be happy to get back and serve you.

Source: www.mashable.com

How do you invoke Touch Methods on UIScrollView ?

How do you invoke Touch Methods on UIScrollView ?

First fundamental I want to clear here is that when a touch occurs on UIScrollView how do you differentiate if it was meant for scrolling or it was meant for tracking a subview? I will give you an example, suppose you have ScrollView of width say 640px and you have added 4 buttons on ScrollView as its subview. When you touch on ScrollView how does system know that the touch was meant to press buttons or it was meant to scroll the ScrollView ! Let me explain the inside story, when user makes a touch on ScrollView -  a timer is started. If the timer fires without a significant change in position then, ScrollView send signal to methods of touched subview in the content view. If user drags their finger far enough before timer dies then scrolling happens in ScrollView.

Now lets come to our main point. You have embedded UIScrollView on your screen, how do you know which coordinate user touched on iPhone screen? TouchBegan, TouchMove, TouchEnded don’t work on UIScrollView.The delegate methods  available  for UIScrollView don’t cover this explicitly but there is a way around it. I am going to cover this today. We need to create a subclass of UIScrollView.

I am covering here only basic implementation, you can customize it to do much more stuff according to your needs. We implement its .m as following:

Next step is I have created an instance of this subclass of UIScrollView in one of  my ViewController class. I can call normal UIScrollView delegate methods on it as I have done in the code below.

Now when I tap on screen with ScrollView on it, it will identify where it was a tap or it was meant to be scroll the ScrollView. If it was a tap it will access  - (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContentView:(UIView *)view in MyScrollView.m and print the coordinate of the touch location. There you go ! This is how you invoke Touch Methods on ScrollViews.

Page 1 of 212»

Stay Connected


          
Subscribe via Email


 

Subscribe