(1) IPA packaging, you can use Xcode, you can also use itunes, with the latter relatively fast.
Specific tutorial: Packaging IPA I os_ipa with Xcode and itunes packaging method
(2) Unit test (generally used to test whether a method is feasible, etc.)
--Light weight
--Separate from the program target
--more intuitive and fast-reading knowledge of test results
In contrast, there are cluster tests (typically testing some modules and functions), stress testing (increasing data or user testing)
(3) Local notification
#import "ViewController.h" @interface Viewcontroller ()-(Ibaction) Addlocalnotification: (ID) sender;@ End@implementation viewcontroller-(void) viewdidload {[Super viewdidload]; if ([[Uidevice currentdevice].systemversion doublevalue]>=8.0) {uiusernotificationsettings *setting=[UIUserNoti Ficationsettings Settingsfortypes:uiusernotificationtypealert | Uiusernotificationtypebadge | Uiusernotificationtypesound Categories:nil]; [[UIApplication sharedapplication]registerusernotificationsettings:setting]; }}-(void) didreceivememorywarning {[Super didreceivememorywarning]; Dispose of any resources the can be recreated.} -(Ibaction) Addlocalnotification: (ID) Sender {//create uilocalnotification *localnoti=[[uilocalnotification alloc]init]; Set [email protected] "start playing the game";//Operation prompt [email protected] "This is alertbody";//prompt content Localnoti.repeatinterval =nscalendarunitday;//hint interval localnoti.applicationiconbadgenumber=3;//badge number localnoti.firedAte=[nsdate datewithtimeintervalsincenow:3];//When to start prompt//register, first delete all before, add again, prevent duplicate [[uiapplication Sharedapplication] CA Ncelalllocalnotifications]; [[UIApplication sharedapplication] schedulelocalnotification:localnoti];} @end
If you need to click on a local notification to a specific page, you need to decide.
--When the program is running, clicking on local notifications will invoke the following method of APPDELEGATE.M. If you click the icon directly, it will start normally.
-(void) Application: (UIApplication *) application didreceivelocalnotification: (uilocalnotification *) notification{ }
"iOS Development-119" IPA packaging, Unit testing test, local notification uilocalnotification