IntroductionIn IOS applications, you often need to display the application update status in the program, either through the program itself or through service push, so how to apply the icon, UITabBar, and red circle numbers? The following is a brief
From. net C # porting to Cocoa Touch Objective C is not very smooth. The two platforms have a huge difference between the two languages. The porting work is almost a rewrite of the code, and the entire code volume is around more than 0.1 million, it
Want to write an array into the. plist file in one class, and then read the array from this. plist file in another class?
Take the name, phoneNumber, and age fields as an example. I am an iphone, input data in the text box, get it, and load it into
Add multiple UIBarButtonItem in the NavigationController navigation bar In actual development, the navigator is one of the most important containers. We often need to add various style buttons in the navigation bar. It is very easy to add a button.
the status bar of the iPhone can be set to semi-transparent. As we all know, when switching pages using UINavigationController, if the view of your sub-viewController is full screen (480*320), there will be misplacement, which means that the
During IOS development, we sometimes restrict some of the controls that come with the system, but cannot achieve a better user experience. Today we will introduce our own UICombox controls, first, let's take a look:
This is our custom control,
In the development process, similar to the UI development methods of android and other platforms, you must use a mask graph to display some UI or Icon resources. The ios control comes with the alpha value, but this value is the transparent effect of
Recently transferred to ios development, I found that If ios UITextField is at the bottom of the screen, the keyboard cannot automatically adjust the interface layout, You need to manually adjust the location, therefore, I want to write a general
Objective-C language keyword, paired with @ synthesize.
Function: Let the compiler automatically write a method declaration with the same name as the data member to save the declaration of the read/write method.
To put it bluntly, it is the getter
The MPMoviePlayerController class is a very powerful class that can play MOV, MP4, MPV, M4V, 3GP, MP3, AIFF, and M4A. It is also very simple to define. The following describes the simple usage of MPMoviePlayerController and the problems I
Obtain available memory of the current device (unit: MB)-(Double) availableMemory
{Vm_statistics_data_t vmStats;Mach_msg_type_number_t infoCount = HOST_VM_INFO_COUNT;Kern_return_t kernReturn= Host_statistics (mach_host_self
Because Apple does not currently support this function, you can only make an excessive effect after the App is started:
[Cpp]-(BOOL) application :( UIApplication *) application didfinishlaunchingwitexceptions :( NSDictionary *) launchOptions{Self.
1. What is Wax?
Wax is a framework for compiling Local iphoneapps in lua. It uses the OC runtime to bind the OC and Lua. With Wax, you can use Lua to do anything that OC can do! What are you waiting? Get started!
2. Why write an iPhone app with
I have previously written an article to show Badge on any UIView, but the IOS6 fails. It turns out that Apple has changed the Badge class name, so it is compatible here. The source code is as follows:[Plain]-(UIView *) showBadgeValue :( NSString *)
Yesterday, I found a mandatory scenario for the App. I tracked it and found the following statement:
[Cpp][Self. mapView setRegion: [self. mapView regionThatFits: theRegion] animated: NO];
The crash information is:[Cpp]* ** Terminating app due to
Keywords: ActionSheet AlertView1. Create a Single View Application project named ActionSheetDemo, as shown in figure
2. Place a Button on ViewController. xib and the Title is "delete"Modify ViewController. h and add the following
During IOS development, plist files are often used. What is a plist file? Its full name is Property List, which is an attribute List file used to store serialized objects. The property list file extension is. plist, which is usually called a plist
Generally, the custom View code methods are as follows:
Add sub-Views during initialization
[Cpp] view plaincopy-(Id) initWithFrame :( CGRect) frame{Self = [super initWithFrame: frame];If (self ){// Add subviews}Return self;}You can also draw your
IOS does not have the system's CheckBox component, but it is often used in actual development. Therefore, a CheckBox control is specially written and the code is directly written.
:
The UICheckBoxButton. h file is as follows:[Html]# Import #
For security reasons, iOS restricts each application to a specific file. Other apps do not have the permission to access this folder. This is the sandbox of the app.
Common file directories for iOS apps:
/AppName. app package
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