摘要:1、在不同的应用中,有关状态栏的样式是不定的,系统的默认样式是黑色的,然而有一些应用是需要白色的,所以就需要进行相关的设置,设置状态栏的样式有2种方式,下面分别讲述一下。 2、方法一: 直接在需要改变默认状态栏样式的控制器中实现一个方法(其他任何事情都不用做): 这个方法会在界面调用的时候实现,并且
阅读全文
随笔分类 - iOS学习之路
摘要:文章来自http://www.jianshu.com/p/47c1377c61d6 https://www.cnblogs.com/Rinpe/p/5670017.html 111.png 工程配置信息中设置显示launchImage:1、删除Launch Screen File2、在Launch
阅读全文
摘要:使用终端命令行将本地项目上传到Github 对于IOS开发者来说,Github的使用是必须要掌握的一种技能,而把项目由本地上传到Github有多种方式,1开发工具Xcode配置Git,由Xcode-->Source Control-->Commit;2使用Github客户端上传代码;3使用终端命令行
阅读全文
摘要:1.创建项目,项目中的非代码移到Suppoing Files中 2.创建对应的开发模块 3.搭建项目中的主体框架 一、微信主流框架的搭建 1. 在AppDelegate中,将window的rootViewController设置为带有UITabBarController的导航控制器; 2. 创建子控
阅读全文
摘要:xcoe7数据显示NSAllowsArbitraryLoadsNSAppTransportSecurity//自己设置主窗口
阅读全文
摘要:#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWith...
阅读全文
摘要:#import "ViewController.h"#import "Person.h"#import "Student.h"@interface ViewController (){ NSString *_text;}@property (weak, nonatomic) IBOutlet ...
阅读全文
摘要:UIView *yellowView = [[UIView alloc] initWithFrame:CGRectMake(30, 30, 200, 200)]; yellowView.backgroundColor = [UIColor yellowColor]; [self.wind...
阅读全文
摘要:#import "TextViewController.h"@interface TextViewController ()@end@implementation TextViewController/* UITextView文本视图相比与UITextField直观的区别就是UITextView可以...
阅读全文
摘要:#import "RootController.h"@interface RootController ()@property (nonatomic, retain) NSMutableArray *dataList; // 存储数据源@property (nonatomic, retain) NS...
阅读全文
摘要:#import "RootViewController.h"@interface RootViewController ()@property (nonatomic, retain) UITextField *textField;@end@implementation RootViewControl...
阅读全文
摘要:#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; ...
阅读全文
摘要:#import int main(int argc, const char * argv[]) {// 一: copy 与 retain 的区别// 谁才有引用计数的概念:// 1. 堆区空间才有引用计数概念.// 2. 堆区的对象才会有引用计数. //%ld: - 1...
阅读全文
摘要:#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; ...
阅读全文
摘要:用了三个第三方- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow all...
阅读全文
摘要:#import "AppDelegate.h"@interface AppDelegate (){ NSInteger _totalTickests;}@property (nonatomic, retain) NSLock *lock;@end@implementation AppDeleg...
阅读全文
摘要:#import "OneViewController.h"@interface OneViewController ()@end@implementation OneViewController- (void)viewDidLoad { [super viewDidLoad]; // D...
阅读全文
摘要:#import "ViewController.h"#import "UITextField+Shake.h"@interface ViewController ()@property (retain, nonatomic) IBOutlet UIImageView *balloonImage;@p...
阅读全文
摘要:#import "AppDelegate.h"#import "FirstTableViewController.h"#import "SecondTableViewController.h"#import "ThirdTableViewController.h"#import "FourthTab...
阅读全文

浙公网安备 33010602011771号