Reputation: 119
I am building an iOS app, where I am doing a condition check for existance for a particular data. Please find the code I am using for Android,This condition check is done inside SplashScreenActivty
if(data.exists())
{
startActivity(new Intent(this,Activate.class))
}else{
startActivity(new Intent(this,Tabs.class))
}
How do I proceed with this logic in iOS. I am looking confused for selecting a template. Shall I go with for SplashScreenActivity
. I have also found that iOS does not have anything like the SplashScreen. So how do I begin my app ?
Upvotes: 0
Views: 121
Reputation: 4733
There are two ways for this .
1:) Rename your image as Default.png
2:) Add new view controller with xib, write your stuff there in viewcontroller.m . Set timer using NSTimer & disappear it after your requiered time.
Enjoy Programmming
Upvotes: 1