小编Pei*_*hen的帖子

0个要观看的空间,但在Xcode中它们之间仍然有差距

我将一个Text View拖放到storyborad中的一个viewController中,并设置“自动布局”,使此textView成为0 top,0领先,0尾随其superview。但是,为什么它们之间仍然在左右分别留有间隙(大约8像素)?在大纲文档中有顶部(和底部)布局指南,它们有罪吗?

uitextview ios autolayout xcode6

3
推荐指数
1
解决办法
755
查看次数

[__NSCFString charValue]:无法识别的选择器发送到实例?

我的应用程序使用FMDB和Mantle,在iPhone 5模拟器之后一切正常但在iPhone 5s之前崩溃,看起来像Bool Variable是原因.但我无法理解为什么iPhone 5s,6和6 plus上的一切正常.

@property (nonatomic, assign) BOOL isMyFan;
@property (nonatomic, assign) BOOL isMyFollow;
@property (nonatomic, assign) NSInteger cityID;
@property (nonatomic, assign) NSInteger provinceID;
@property (nonatomic, assign) NSInteger locationID;

2015-07-14 21:33:17.264 ATOMPSGod[48894:607] -[__NSCFString charValue]: unrecognized selector sent to instance 0x79fb7700
2015-07-14 21:33:17.268 ATOMPSGod[48894:607] *** Caught exception setting key "isMyFollow" : -[__NSCFString charValue]: unrecognized selector sent to instance 0x79fb7700
2015-07-14 21:33:17.277 ATOMPSGod[48894:607] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString charValue]: unrecognized selector sent to instance 0x79fb7700' …
Run Code Online (Sandbox Code Playgroud)

iphone objective-c ios

3
推荐指数
1
解决办法
3150
查看次数

标签 统计

ios ×2

autolayout ×1

iphone ×1

objective-c ×1

uitextview ×1

xcode6 ×1