mirror of
https://github.com/wu736139669/Ash_AWord.git
synced 2026-08-05 05:55:19 +00:00
细节修改
This commit is contained in:
+32
-16
@@ -467,22 +467,6 @@
|
|||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
<BreakpointProxy
|
|
||||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
||||||
<BreakpointContent
|
|
||||||
shouldBeEnabled = "Yes"
|
|
||||||
ignoreCount = "0"
|
|
||||||
continueAfterRunningActions = "No"
|
|
||||||
filePath = "Ash_AWord/AppDelegate.m"
|
|
||||||
timestampString = "457177104.347518"
|
|
||||||
startingColumnNumber = "9223372036854775807"
|
|
||||||
endingColumnNumber = "9223372036854775807"
|
|
||||||
startingLineNumber = "146"
|
|
||||||
endingLineNumber = "146"
|
|
||||||
landmarkName = "-application:didReceiveRemoteNotification:fetchCompletionHandler:"
|
|
||||||
landmarkType = "5">
|
|
||||||
</BreakpointContent>
|
|
||||||
</BreakpointProxy>
|
|
||||||
<BreakpointProxy
|
<BreakpointProxy
|
||||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
<BreakpointContent
|
<BreakpointContent
|
||||||
@@ -531,5 +515,37 @@
|
|||||||
landmarkType = "5">
|
landmarkType = "5">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
</BreakpointProxy>
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Ash_AWord/ViewControllers/Chat/ChatMainViewController.m"
|
||||||
|
timestampString = "457195872.725068"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "1012"
|
||||||
|
endingLineNumber = "1012"
|
||||||
|
landmarkName = "-routerEventWithName:userInfo:"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
|
<BreakpointProxy
|
||||||
|
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||||
|
<BreakpointContent
|
||||||
|
shouldBeEnabled = "Yes"
|
||||||
|
ignoreCount = "0"
|
||||||
|
continueAfterRunningActions = "No"
|
||||||
|
filePath = "Ash_AWord/ViewControllers/Chat/ChatMainViewController.m"
|
||||||
|
timestampString = "457195903.27565"
|
||||||
|
startingColumnNumber = "9223372036854775807"
|
||||||
|
endingColumnNumber = "9223372036854775807"
|
||||||
|
startingLineNumber = "982"
|
||||||
|
endingLineNumber = "982"
|
||||||
|
landmarkName = "-routerEventWithName:userInfo:"
|
||||||
|
landmarkType = "5">
|
||||||
|
</BreakpointContent>
|
||||||
|
</BreakpointProxy>
|
||||||
</Breakpoints>
|
</Breakpoints>
|
||||||
</Bucket>
|
</Bucket>
|
||||||
|
|||||||
@@ -126,9 +126,6 @@
|
|||||||
// 打印收到的apns信息
|
// 打印收到的apns信息
|
||||||
-(void)didReceiveRemoteNotification:(NSDictionary *)userInfo
|
-(void)didReceiveRemoteNotification:(NSDictionary *)userInfo
|
||||||
{
|
{
|
||||||
NSError *parseError = nil;
|
|
||||||
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:userInfo
|
|
||||||
options:NSJSONWritingPrettyPrinted error:&parseError];
|
|
||||||
|
|
||||||
NSString* info = [[userInfo objectForKey:@"aps"] objectForKey:@"alert"];
|
NSString* info = [[userInfo objectForKey:@"aps"] objectForKey:@"alert"];
|
||||||
_otherUserId = [userInfo objectForKey:@"f"];
|
_otherUserId = [userInfo objectForKey:@"f"];
|
||||||
@@ -142,9 +139,6 @@
|
|||||||
}
|
}
|
||||||
- (void)application:(UIApplication*)application didReceiveRemoteNotification:(NSDictionary*)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
|
- (void)application:(UIApplication*)application didReceiveRemoteNotification:(NSDictionary*)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
|
||||||
{
|
{
|
||||||
NSError *parseError = nil;
|
|
||||||
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:userInfo
|
|
||||||
options:NSJSONWritingPrettyPrinted error:&parseError];
|
|
||||||
|
|
||||||
NSString* info = [[userInfo objectForKey:@"aps"] objectForKey:@"alert"];
|
NSString* info = [[userInfo objectForKey:@"aps"] objectForKey:@"alert"];
|
||||||
_otherUserId = [userInfo objectForKey:@"f"];
|
_otherUserId = [userInfo objectForKey:@"f"];
|
||||||
|
|||||||
@@ -154,7 +154,7 @@
|
|||||||
if (!error)
|
if (!error)
|
||||||
{
|
{
|
||||||
//由于加入黑名单成功后会刷新黑名单,所以此处不需要再更改好友列表
|
//由于加入黑名单成功后会刷新黑名单,所以此处不需要再更改好友列表
|
||||||
[MBProgressHUD errorHudWithView:self.view label:@"成功加入,可以在设置->黑名单中删除。" hidesAfter:2.0];
|
[MBProgressHUD errorHudWithView:self.view label:@"成功加入,可以在设置->黑名单中删除。" hidesAfter:3.0];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -1014,7 +1014,7 @@
|
|||||||
}
|
}
|
||||||
PersonalInfoViewController* personalInfoViewController = [[PersonalInfoViewController alloc] init];
|
PersonalInfoViewController* personalInfoViewController = [[PersonalInfoViewController alloc] init];
|
||||||
personalInfoViewController.hidesBottomBarWhenPushed = YES;
|
personalInfoViewController.hidesBottomBarWhenPushed = YES;
|
||||||
personalInfoViewController.otherUserId = _otherUserId;
|
personalInfoViewController.otherUserId = model.username;
|
||||||
[[AppDelegate visibleViewController].navigationController pushViewController:personalInfoViewController animated:YES];
|
[[AppDelegate visibleViewController].navigationController pushViewController:personalInfoViewController animated:YES];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user