ITeye博客

该写点东西了

zfanxu · 共 27 篇文章

IOS-reject理由:11.13: Apps that link to external mechanisms for purchases or subsc

Reasons 11.13: Apps that link to external mechanisms for purchases or subscriptions to be used in the App, such as a "buy" button that goes to a web site to purchase a digital book, will be rejected 11.13 Upon further review, we found that your app provides access to account registration. As this a…

2014-08-19T09:47:24Z · IOS · 评论(0)

升级MAC OS X自带的SVN客户端

http://blog.sina.com.cn/s/blog_a0f3ea980101c0y0.html

2014-08-05T11:05:47Z · IOS · 评论(0)

iOS推送实现—在Apple的生产环境上测试Push Notifications功能

http://www.apblog.cn/blog/2013/09/15/ios-push-notification-test-on-apple-production/ http://developer.xg.qq.com/index.php/AD_Hoc模式验证生产证书

2014-07-30T23:33:24Z · IOS · 评论(0)

最好用的Java APNS类库

http://ramosli.iteye.com/blog/1955465

2014-07-29T20:42:49Z · IOS · 评论(0)

iOS7自定义back按钮和pop交互手势

Clambake for iPhone 有一个回退按钮在所有的导航条上.这是一个简单的没有文字箭头. 实现一个自定义按钮是简单的.类似这个设置controller 的navigationItem一个leftBarButtonItem. - (void)viewDidLoad 2 { 3 self.navigationItem.leftBarButtonItem = [self backButton]; 4 } 5 6 - (UIBarButtonItem *)backButton 7 { 8 UIImage *image = [UIImage imageNamed:@"back_button…

2014-07-29T15:39:55Z · IOS · 评论(0)

IOS TextField 银行卡号格式化

-(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string{ if (textField == self.text_cardno) { NSString *text = [self.text_cardno text]; NSCharacterSet *characterSet = [NSCharacterSet characterSetWithCharactersInString:@"0123456789\…

2014-07-28T21:08:31Z · IOS · 评论(0)

Valid signing identity not found解决办法(原有IDP私钥丢失)

http://blog.csdn.net/mad1989/article/details/8699147

2014-07-03T08:57:41Z · 评论(0)

怎么判断某一个viewController当前是否显示

可以试试这样: - (UIViewController*)topViewController { return [self topViewControllerWithRootViewController:[UIApplication sharedApplication].keyWindow.rootViewController]; } - (UIViewController*)topViewControllerWithRootViewController:(UIViewController*)rootViewController { if ([rootViewController isKin…

2014-07-01T17:34:07Z · IOS · 评论(0)

Remote host closed connection during handshake和SSL peer shut down incorrectly报错

Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:882) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.…

2014-06-28T11:41:41Z · 错误异常处理 · error-ios · IOS · 评论(0)

ehcache工具类

import net.sf.ehcache.CacheManager; import net.sf.ehcache.Ehcache; import net.sf.ehcache.Element; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CacheBuilder { /** * 日志 */ private static final Logger LOGGER = LoggerFactory .getLogger(CacheBuilder.class); public static CacheBu…

2014-06-19T19:21:04Z · cache · 评论(0)

IOS推送服务端代码-示例(java)

package org.hyw.push.servlet; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.hyw.push…

2014-06-17T09:58:43Z · IOS · 评论(0)

IOS---UIView添加点击事件

https://github.com/jakemarsh/JMWhenTapped

2014-06-12T19:13:03Z · error-ios · 评论(0)

Mac OS X"录屏幕视频并转成gif

第一步: 使用软件QuickTime Player录屏幕视频,创建方式选择新建屏幕录制: 选择区域录制,录好保存后,就需要转gif,需要另外一个软件。 第二步: 使用GIFBrewery软件创建gif,在appstore上是收费的,大家可以在网上找免费的,这个还是比较好用的。 大家一看就会用了: 设置开始和结束,然后Create GIF ok! http://blog.csdn.net/rhljiayou/article/details/13659667

2014-06-05T11:28:11Z · error-ios · 评论(0)

关于ios极光推送server端注意的地方

今天试用了极光推送API 用它是因为,大多数人说它的文档是最全的,但是用过之后,发现关于IOS的文档,还是很不够,导致走了一点弯路! 特别是服务端的代码:https://github.com/jpush/jpush-api-java-client for java JPushClient jpushClient = new JPushClient(masterSecret, appKey, 0, DeviceEnum.Android, false); CustomMessageParams params = new CustomMessageParams(); params.setRecei…

2014-05-07T15:52:21Z · 评论(1)

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/De

编译错误 compile error: fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h' has been modified since the precompiled header was built the answer of stac…

2014-03-20T11:15:24Z · 错误异常处理 · error-ios · 评论(0)