六:获得另一个控件器,并实现跳转UIStoryboard* mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil]; UIViewController *registerViewControll....
分类:
移动开发 时间:
2014-11-26 18:29:57
阅读次数:
268
解决方式是在gemfile中加入gem 'execjs'gem 'therubyracer'执行 bundle install
分类:
编程语言 时间:
2014-11-26 16:22:15
阅读次数:
134
安卓学习开始了!
在windows上搭建安卓开发环境,看似简单,其实问题很多,我整整搭建了5天才搞定,当然,也是因为工作有些忙的原因,时间不太多,OK,本篇教程,我会将我遇到的所有问题都写上,希望看到这篇博客的朋友,不会犯同样的错误。
一.搭建JAVA开发环境
1.基本概念
如果你会JAVA,那直接略过就行。
http://blog.csdn.net/alspwx/article/det...
分类:
移动开发 时间:
2014-11-26 14:29:43
阅读次数:
146
archive后发现包里面的有些icon后缀从png改成tiff了,所以就提示找不到icon.以下是解决办法: You need to open theproject that generates the external resources bundle, select the target, ....
分类:
其他好文 时间:
2014-11-25 20:24:35
阅读次数:
214
- (IBAction)login:(id)sender { UIStoryboard* mainStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; UIViewController *LoginViewC...
分类:
其他好文 时间:
2014-11-25 20:16:12
阅读次数:
154
思路:
第一种方案:屏蔽除power外的其他按键,屏蔽状态栏下拉,屏蔽触屏。
代码如下:
需要系统签名:
添加权限:
package com.example.demo;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyE...
分类:
移动开发 时间:
2014-11-25 16:33:25
阅读次数:
336
public Button btnPay; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCo...
分类:
移动开发 时间:
2014-11-25 15:43:37
阅读次数:
144
一,iOS SDK 下载
请到SDK下载页面下载最新版本QQ登录iOS SDK。
二,iOS SDK目录结构
iOS SDK包中带有两个文件:
1. TencentOpenAPI.framework打包了iOS SDK的头文件定义和具体实现。
2. TencentOpenApi_iOS_Bundle.bundle 打包了iOS SDK需要的资源文件。
三,将iOS SDK文件添加到...
分类:
移动开发 时间:
2014-11-25 14:37:52
阅读次数:
184
使用UINib类静态方法nibWithNibName:bundle:加载xib(nib)文件,第一个参数无须加文件后缀。若加后缀,则程序报错;第二个参数为空时,程序从mainBundle指向的路径中搜索文件。正确的写法:UINib *storyCellNib = [UINib nibWithNibN...
分类:
移动开发 时间:
2014-11-25 00:05:56
阅读次数:
334