When we start off as an iOS Developer, we all face a common obstacle ,that is generating the certificates and using it in our apps because Apple does not allow us to debug or run our app without Certificate. So we need an Apple Developer Certificates to develop ,debug and run.
In order to know the types and procedure to use it, first we need to have an understanding of code signing and why it is needed. So lets start with it.
Code signing our app is necessary because due to this only users trust that our app has been created by a source known to Apple. All iOS apps must be code signed and provisioned to launch on a device or to be distributed for testing, or to be submitted to the store. Continue reading →
Introduction: Most of the iOS application starts with the splash screen with the spinner which makes the sense that application is loading it’s required files and resources. But if you focus on the screen, you will find that while showing the splash screen, some part of the splash screen is hidden by the status bar.
Description: If we want to hide the status bar while showing the splash screen, it is very easy and we can view the splash screen completely by ignoring the staus bar above it.
Here is the the simple technique bellow.
1. Open Xcode and click on the project in Project Navigator.
2. In the target panel select the project and it will open the project details.
3. Choose the general tab form the list and we can find the Development Info panel in the list. And in Development Info there will be an option for Status Bar Style.
4. Then we need to tick the check box for “Hide during application launch”. Continue reading →
Custom URL scheme is the mechanism through which third party applications can interact with each other. Suppose we want an interaction between our app and the default email application in the device. Apps that support custom URL schemes can use the schemes to communicate with other applications and also initiate specific tasks. For example, an app can open from default email app in IOS devices using custom URL.
Description: To communicate with an app using a custom URL, we need to register the custom URL scheme in our appname-info.plist file. Apple by default supports for the http, mailto, tel, and SMS URL schemes. So if our URL scheme matches with the scheme mentioned by Apple then the Apple provided application will launch instead of our application. Therefore we need to be very careful before declaring the scheme.
Sometime we usually face the problems for launching the app directly from latest Xcode.
During the time of debugging we often encounter ‘Time Out ‘error. To fix the issue many people tried it in various ways. As an IOS developer I have also faced the same issue while launching app form Xcode box. Xcode shows me that message as “Could not launch “appname”. Timed out for the app to launch”.
I just figured out what exactly the problem with latest Xcode devises, and followed the following method to overcome it ……