IOS: local notification UILocalNotification
1. Create a local notification
UILocalNotification * local = [[UILocalNotification alloc] init];
2. Set the notification display time
Local. fireDate = [NSDate date];
3. Set the Default Time Zone
IOS Date Processing-resolution date
To obtain accurate time from a string, you must specifyCorrect Format StringAnd the correspondingTime zone ID
1. Date Format
1. Year
yDisplay the year (0-9) as a number without leading zero
Specify the rounded corner of iOS development
If you want to set all the four corners of the UIView to rounded corners, the procedure is quite simple. You only need to set the cornerRadius attribute of the Layer (the QuartzCore framework is required
IOS skills, features, and specifications
I. compiler features
1. ARC.
ARC is a compiler feature. If ARC is used in the project, the compiler automatically adds the OC object counter release code during project compilation. If ARC is used, the
IOS uses UIDocumentInteractionController and Quick Look to open or preview a documentDuring App development, we cannot avoid opening software files, such as Excel files and Word files, if you want to open files in different formats such as image
OC, oc Language
Features of the OC language 1. hyperset of the C-language statement, which allows the C-language program source code to be used in the OC. the compiler is compatible with the C-language program. 2. It has a complete pipeline object-
WatchKit App Submission Issues, watchkitsubmission
View Original: http://leancodingnow.com/watchkit-app-submission-issues/
I submitted a new version of my app Pomodoro Tracker yesterday, adding support for Apple Watch. I encountered several issues
IOS basics-UIImageView
UIImage is to define an image, while UIImageVIew is to define a view, and then put the image in
-(Void) viewDidLoad {[super viewDidLoad]; // UIImageView * imageV = [[UIImageView alloc] initWithImage: [UIImage imageNamed: @ "1
IOS basics-UILabel
The most common text tag. To put it bluntly, it is a collection of strings used to display text.
The following describes the label attributes in detail.
-(Void) viewDidLoad {[super viewDidLoad]; UILabel * label = [[UILabel alloc]
IOS basics-UITextField
UITextField is usually used for external text input, which is a common input box. The following code describes various UITextField attributes and methods.
-(Void) viewDidLoad {[super viewDidLoad]; // text input box
UITableView table view and reconstruction mechanism, uitableviewTable view UITableViewThe table view UITableView is the most important view in IOS. It can be seen everywhere. A table view is usually used to manage a group of data with the same data
IOS programming UITabBarController, uitabbarcontroller
IOS programming UITabBarController
1.1
View controllers become more interesting when the user's actions can cause another view controller to be presented.
When a user's action can lead to other
IOS notes (common knowledge points)
This is some notes I made when I was working on projects at the company .......
// 1. iphone development-change the color of the dot in UIPageControl
PageControl. currentPageIndicatorTintColor = [UIColor
Cancel button click delay on iOS UITableViewCell
This phenomenon is not displayed when you touch the button in the highlighted state. The solution is to disable the delay of scrollView.
Code:
Add the following line to the place where tableView is
IOS data persistence-plist
The previous article mentioned how to use NSUserDefaults to store user preferences. This article describes how to use plist and common files to store structured data, generally, Plist is used to store data that does not
Coordinate issues in iOS Game templates
IOS Game usually has a horizontal screen, so what will happen when the screen is vertical. The cup has occurred, and the coordinates have encountered problems.
When the horizontal screen is displayed, the
IOS animation-what? Can AutoLayout still perform animation?
Yes. It is clear that AutoLayout can indeed be used as an animation. AutoLayout is used to make various constraints and adapt to different screens. When we change some of these constraints
Objective, objectivec
Objective-c Chapter 1 Hello world
1.1
1.2.On the Welcome screen, click "Create a new Xcode project" (see Figure 2-1), or just chooseFile-> New Project.
1. 3. Write the following code in main
#import int main(int argc,
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