iOS Development Project-01 Environment Building

Source: Internet
Author: User

iOS Development Project-01 Environment Building

First, the basic process

1. Create a new project (1) Delete Storyboard (2) in the configuration interface, remove main, and manually set 2. Prepare the footage as follows: This project is imitating Sina, realizing a cottage Sina Weibo system, the new version of the system has abandoned the non-Retina screen. Plainly, in this case, if the phone is a 3.5-inch IOS7 system, the startup animation is not visible. Set the method, right-click the show in Finder, and modify the JSON file.        Contents.json, modify the file to allow the system splash screen to support the 3.5-inch IOS7 system. When finished, it appears in the project as follows: The application icon on the emulator: second, simple code
1//2//  YYAPPDELEGATE.M 3//  01-Weibo environment Build 4//5//  Created by Apple on 14-7-3.6//  Copyright (c) 2014 it Case. All rights reserved. 7//8  9 #import "YYAppDelegate.h" @implementation YYAppDelegate12-(BOOL) Application: (UIApplication *) appli cation didfinishlaunchingwithoptions: (Nsdictionary *) launchOptions14 {    //1. Create Window     self.window=[[ UIWindow alloc]init];18     self.window.frame=[uiscreen mainscreen].bounds;19     //2. Setting the root controller     of a window Uitabbarcontroller *tabbarvc =[[uitabbarcontroller alloc]init];22     self.window.rootviewcontroller=tabbarvc;23     //3. display window     [Self.window makekeyandvisible];26     return yes;27}28     

Run (Emulator Welcome Interface):

Iii. adaptation of IOS6 and IOS7

Modify the configuration information version to 6.1

To view the emulator:

Description: The Xcdoe is loaded with an additional ios6.1 simulator. This project can only run on a 6.1 or 7.1 (own) system, if you need to see the system in different versions of the effect, it is recommended to switch the device before running, so faster.

Remove the highlight effect from the icon

Note: The picture will have a cache in the system, clear first, delete the application and run again.

Set to hide the status bar during program startup

Tags: iOS development, Project article

iOS Development Project-01 Environment Building

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.