Source Address: http://blog.csdn.net/lengshengren/article/details/16339409In iOS development, it is often necessary to call other apps, such as making a phone call, sending an email, and so on. Uiapplication:openurl: Method is the simplest way to do this, and the method typically invokes different apps by providing a schema for the URL parameter.The following app
Jump from one appclient to another appserver, where the appclient appserver knowledge represents two different apps and does not have bunldid functionality. I got the wrong idea at first.The implementation jumps from Appclient to another appserver:1. First add a line attribute to AppServer's info.plist.The URL is composed of: Pupuwang://com.pupuwang.xwcustomerWhere URL schemes is most important, is the prefix of the URL, url identifier is URL://String
Let 's talk about How to open app2 from App1 in an iOS opener.The basic idea is that you can set a URL for app2, in App1 open the URL to open the app2, in this process, you can transfer some parameters. The following is a discussion of the specific implementation process. 1. Defining a URL in App2 info.plist is to add a URL types to the file. Can be added by pressing.2. Open the URL that you just defined in App1 's code, as follows:[CPP]View Pla
restore user dataapplicationWillTerminate:UIApplicationWillTerminateNotificationThe method is called when the app is terminated, except when the memory is cleared. This phase frees up some resources and can also save user dataTo make it easier to observe the running state of the application, we add some log output for the method in APPDELEGATE.M, with the following code: @implementation appdelegate - (BOOL) Application: (uiapplication*) Application Didfinishlaunchingwithoptions: (nsdictionary*)
First, look at other people's application interface1. Ready to jailbreak mobile phone one, online search for a key jailbreak, there will be many applications.2. Jailbreak Complete installation openssh and Cydia substrate3. Copy SCP libreveal.dylib [email protected] Device IP address:/library/mobilesubstrate/dynamiclibraries/4. Copy SCP libreveal.plist [email protected] Device IP address:/library/mobilesubstrate/dynamiclibraries/Plist file contents include: Baidu map, American group Takeaway, Vol
. After adding, open the corresponding language files, such asAdd to 中文版:Cfbundledisplayname = "Hello World";Additions to the Chinese:Cfbundledisplayname = "Hello World";5, run, if your simulator is in Chinese, you will see your program name into the world hello in the settings to set the language into English, you will see your program name into the Hello WorldsIi. Internationalization of content1. Create a new Localizable.strings file (Localizable.strings is the system default name)2. Add lang
. After adding, open the corresponding language files, such asAdd to 中文版:Cfbundledisplayname = "Hello World";Additions to the Chinese:Cfbundledisplayname = "Hello World";5, run, if your simulator is in Chinese, you will see your program name into the world HelloSet the language to English in the settings and you will see your program name turned into Hello WorldIi. Internationalization of content1. Create a new Localizable.strings file (Localizable.strings is the system default name)2. Add langu
compressed. Compressing a picture or PDF document is a waste of CPU resources and may even increase the volume of the file.For a server, to use a web app to use GIP compressed resources, the server must be configured to provide compressed resources automatically when requested. On the other hand, the client must support files of this type of compression.GIP compression is not a limitation of the bone file format, so this is the easiest way to dramatically "slim" the Web page. Gzip compression c
When you press the home key, put the app behind the scenes, and then call back again, return to the appdelegate inside of a method,-(void) applicationwillenterforeground.When the app is back in the background, the method is executed, so the listener uiapplicationwillenterforegroundnotification this notification to get the operation back to the foreground.UIApplication *app = [uiapplication sharedapplication]; [[Nsnotificationcenter defaultcenter]addobserverforname:uiapplicationwillenterforegr
I. Multi-lingual text in the application1.Step1: Add a multilingual version to your app2.Step2: Changes in programmingto implement multiple languages, you cannot use them directly in programming.NSString, but usesNslocalizedstring (key, comment)Keyis the corresponding displayNSString,Commentthen a comment3.Createlocalizable.stringsfileWhen the file name is localizablenslocalizedstring (@"title", nil)When customizing file names, use thenslocalizedstringfromtable (@"title",@"Customized filename",
Jump to system settings in iOS apps
Use the following methods in versions earlier than iOS5: [This method cannot be used after IOS5.1 +. The iOS8 redirection method has been found below. iOS7 is exploring. You are welcome to give your opinion]
Use the URL Scheme method to open the built-in Settings. The Code is as follows:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION
IOS apps are packaged and distributed to remote mobile phone tests, and iosapps are packaged and distributed.
If the APP is to be packaged to a remote friend or customer for testing, but it is not an enterprise account, we can only describe the certificate configuration based on the mobile phone's udid, package and distribute the package to the mobile phone that provides the udid for installation.
1. How
app refresh slowly, to wait).Note: When you upload 1.0.0, you have not submitted the review, and you want to continue to upload the new version, now you have to be 1.0.1 or other version number, and more than your recently uploaded version number, or will be prompted to repeat, unable to upload. Other than that. cannot be deleted after uploading, you can only select one of the best version to submit the audit.8, the other according to the default on it.Transferred from: HTTP://WWW.JIANSHU.COM/P
Create a single view appIn the View window stall a navigation controller, the default navigation controller is automatically associated with the table view, if not required, you can delete the automatically added table view, create a new view Controller can be associated with navigation controller. (Right-drag from Nav to view, select Rootview)650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6D/A5/wKiom1VoIRrTVOsaAABIDe5-hKE437.jpg "style=" float: none; "title=" Nav.png "alt=" Wkiom1vo
Xcassets: A XXxXX app icon is required for iPhone apps targeting releases of iOS prior to 7.0, xcassetsiphone
It is obvious that the Icon size is incorrect.
Solution: Editor> New App Icon
A new complete icon set will be generated, and you can drag the icon into it.
In addition, the projects created in Xcode6 are several more @ 3x Icon Sets than those created in Xcode5. If you need to create a proj
postponed.If the requirements are broken down before development, the problem is communicated clearly, and the points to be done are listed, which can greatly avoid these problems.
For example, we do the app Extension, did not do before, then the first time should be to receive notification task--"Looking for open source project (This step needs to do more homework, see more, more familiar)--" according to open source project, view the Appdeveloper developer documentation ( Try to read
it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. [[UIApplication sharedApplication]beginBackgroundTaskWithExpirationHandler:^(){ }]; NSLog(@"applicationDidEnterBackground");}// 这时候你就会发现 applicationWillTerminate 这货被调用了,有没有人过来解释下。。- (void)applicationWillTerminate:(UIApplication *)application { // Called when the application is about to terminate. Save data if appropriate. Se
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.