- 浏览: 231780 次
- 性别:
- 来自: 北京
最新评论
-
windylel:
你的证书通过ca认证了吗?
iOS 7.1下itms-services在线安装失败的解决方法 -
lkocok2:
siruoxian 写道这个不是直接修改就可以。需要专门的服务 ...
iOS 7.1下itms-services在线安装失败的解决方法 -
zxy2543:
ssl验证必须通过什么机构认证吗?
iOS 7.1下itms-services在线安装失败的解决方法 -
zxy2543:
https://example.com/manifest.pl ...
iOS 7.1下itms-services在线安装失败的解决方法 -
siruoxian:
这个不是直接修改就可以。需要专门的服务器来支持。这个我已经验证 ...
iOS 7.1下itms-services在线安装失败的解决方法
文章列表
像我一样记不住iOS应用图标像素尺寸的开发者不在少数,我经常需要查询不同设备上的应用尺寸,为了方便自己、方便大家,我制作了下面的图表供大家参考。
iPhone、iPodTouch以及一般通用的应用图标像素尺寸是多少?iPhone和iPodTouch应用需要一般应用所有的图标像素,你可能会想知道为什么iPhone应用需要iPad应用图标,因为一款iPhone应用也可以在iPad上运行。相反,iPad应用不能在iPhone上运行,因此iPad应用有专属自己的图标像素。必需图标:AppStore图标:1024×1024pixelsiPhone主屏幕图标:57×57、114×114(reti ...
应用内下载其他的APP是ios的新功能。
详细介绍请参见:https://developer.apple.com/search/index.php?q=SKStoreProductViewController
下面说一下简单的用法:
SKStoreProductViewController *skVC=[SKStoreProductViewController new];
skVC.delegate=self;
NSDictionary *dict = [NSDictionary dictionaryWithObject:@"395133418" ...
ios 平台获取当前的国家/语言设置
- 博客分类:
- iphone
转自:http://blog.sina.com.cn/s/blog_3e7397cf0100wpao.html
NSLocale类
NSLocale *currentLocale = [NSLocale currentLocale]
NSLog(@"Country Code is %@", [currentLocale objectForKey:NSLocaleCountryCode]);
NSLog(@"Language Code is %@", [currentLocale objectForKey:NSLo ...
IOS IMEI 获取
- 博客分类:
- iphone
好文章收藏一下
IOS IMEI 获取
//
// network.h
// AUOiWay_Mobile
//
// Created by Mahmood1 on 2/21/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#define SUPPORTS_IOKIT_EXTENSIONS 1
/*
* To use, you must add the (semi)public IO ...
Mac配置Android开发环境变量及工具
- 博客分类:
- android
很好的文章,收藏一下。
http://www.techolics.com/android/development/20100602_7_3.html
根据不同的target编译不用的资源文件
- 博客分类:
- iphone
TARGET-Build Settings-Preprocessing 设置【TARGET_ONE】
代码中做如下实现:
#if defined (TARGET_ONE)
#else
#endif
条件编译一般情况下,源程序中的所有的行都参加编译。但是有时希望对其中一部分内容只在一定条件下进行编译,当条件不满足则编译另一组语句#ifdef 标识符 程序段1#else 程序段2#endif作用:已经被#define命令定义过,则在程序编译阶段只编译程序段1,否则编译程序段2例子:#define N 10
main() {
#ifdef N
printf("N defined!\n");
//程序段一
#else
printf("N isn't defined!\n");
//程序段二
#endif }
由于程 ...
解决方法 :
选择项目名称----->Targets----->Build Settings----->Search Paths----->Library Search Paths
删除对应路径
同时将Always Search User Paths 设置为NO
UIWebView设置滚动条不可用
- 博客分类:
- iphone
for (id subview in self.subviews){
if ([[subview class] isSubclassOfClass: [UIScrollView class]])U
((UIScrollView *)subview).scrollEnabled=NO;
}
选择工程, 编译的 (targets)
选择 Build Settings 菜单
查找 Library Search Paths 和 Framework Search Paths, 删掉编译报warning的路径即OK
文章出处:http://blog.csdn.net/smilelance/article/details/7608488
+ (NSData*) base64Decode:(NSString *)string
{
unsigned long ixtext, lentext;
unsigned char ch, inbuf[4], outbuf[4];
short i, ixinbuf;
Boolean flignore, flendtext = false;
const unsigned char *tempcstring;
NSMutableData *theData;
if (string == nil) {
...
+(NSString*)getCellularProviderName
{
CTTelephonyNetworkInfo *netInfo = [[CTTelephonyNetworkInfo alloc]init];
CTCarrier*carrier = [netInfo subscriberCellularProvider];
[netInfo release];
NSLog(@"carrier:%@",carrier);
NSString * imsi=@"";
if ...
使内容不会备份到itunes
- 博客分类:
- iphone
+ (BOOL)addSkipBackupAttributeToPath:(NSString *)path {
NSURL * url = [NSURL URLWithString:path];
const char* filePath = [[url path] fileSystemRepresentation];
const char* attrName = "com.apple.MobileBackup";
u_int8_t attrValue = 1;
int result = setxa ...
+ (float)getFreeDiskspace{
float totalSpace;
float totalFreeSpace=0.f;
NSError *error = nil;
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSDictionary *dictionary = [[NSFileManager defaultManager] attributesOfFileSys ...
#ifdef DEBUG
#define SRXLog(fmt, ...) NSLog((fmt), ##__VA_ARGS__)
#else
#define SRXLog(fmt, ...)
#endif